m68k: Remove BKL from rtc implementations
authorThomas Gleixner <tglx@linutronix.de>
Thu, 15 Oct 2009 08:42:21 +0000 (08:42 +0000)
committerGeert Uytterhoeven <geert@linux-m68k.org>
Mon, 17 May 2010 19:15:39 +0000 (21:15 +0200)
commitb1f3bb494e8acddeb972331c2ac642b3c7bceeb9
tree3f04922eb7c5301810db28dd0546293b0bf846ae
parente40152ee1e1c7a63f4777791863215e3faa37a86
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>
arch/m68k/bvme6000/rtc.c
arch/m68k/mvme16x/rtc.c