linux/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 m68k: kill arch/m68k/atari/atari_ksyms.c 2008-02-05 09:44:24 -08:00
atakeyb.c m68k: Remove unused atari_kbd_translate() 2008-10-14 10:23:26 -07:00
atasound.c m68k: kill arch/m68k/atari/atari_ksyms.c 2008-02-05 09:44:24 -08:00
config.c m68k: kill arch/m68k/atari/atari_ksyms.c 2008-02-05 09:44:24 -08:00
debug.c m68k/atari/debug.c: possible cleanups 2008-07-20 17:24:39 -07:00
hades-pci.c m68k: Balance ioremap and iounmap in m68k/atari/hades-pci.c 2008-02-05 09:44:23 -08:00
Makefile m68k: kill arch/m68k/atari/atari_ksyms.c 2008-02-05 09:44:24 -08:00
stdma.c m68k: kill arch/m68k/atari/atari_ksyms.c 2008-02-05 09:44:24 -08:00
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