kernel-ark/arch/m68k/atari
Geert Uytterhoeven 7ae4833af0 m68k: Define rtc_lock on Atari
The nvram and rtc-cmos drivers use the spinlock rtc_lock to protect against
concurrent accesses to the CMOS memory. As m68k doesn't support SMP or preempt
yet, the spinlock calls tend to get optimized away, but not for all
configurations, causing in some rare cases:

| ERROR: "rtc_lock" [drivers/rtc/rtc-cmos.ko] undefined!
| ERROR: "rtc_lock" [drivers/char/nvram.ko] undefined!

Add the spinlock to the Atari core code to avoid this.

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Acked-by: Michael Schmitz <schmitz@debian.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2008-10-14 10:23:27 -07:00
..
ataints.c
atakeyb.c m68k: Remove unused atari_kbd_translate() 2008-10-14 10:23:26 -07:00
atasound.c
config.c
debug.c m68k/atari/debug.c: possible cleanups 2008-07-20 17:24:39 -07:00
hades-pci.c
Makefile
stdma.c
stram.c arch: Remove unnecessary inclusions of asm/semaphore.h 2008-04-18 22:14:49 -04:00
time.c m68k: Define rtc_lock on Atari 2008-10-14 10:23:27 -07:00