diff options
author | 2009-10-15 08:42:21 +0000 | |
---|---|---|
committer | 2010-05-17 21:15:39 +0200 | |
commit | b1f3bb494e8acddeb972331c2ac642b3c7bceeb9 (patch) | |
tree | 3f04922eb7c5301810db28dd0546293b0bf846ae /drivers/base/platform.c | |
parent | Linus 2.6.34 (diff) | |
download | wireguard-linux-b1f3bb494e8acddeb972331c2ac642b3c7bceeb9.tar.xz wireguard-linux-b1f3bb494e8acddeb972331c2ac642b3c7bceeb9.zip |
m68k: Remove BKL from rtc implementations
m68k does not support SMP. The access to the rtc is already serialized
with local_irq_save/restore which is sufficient on UP.
The open() protection in arch/m68k/mvme16x/rtc.c is not pretty but
sufficient on UP and safe w/o the BKL.
open() in arch/m68k/bvme6000/rtc.c can do with the same atomic logic
as arch/m68k/mvme16x/rtc.c
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Diffstat (limited to 'drivers/base/platform.c')
0 files changed, 0 insertions, 0 deletions