diff options
author | Geert Uytterhoeven <geert@linux-m68k.org> | 2008-10-13 21:58:55 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-10-14 10:23:27 -0700 |
commit | 7ae4833af0dda3bdfb65004856c3f83871fd8ce4 (patch) | |
tree | 0a293445a8cc2b17bd815e02ebd75242b3c62b3d /include/asm-m68k | |
parent | 3e24fc947ce38e204c3bc58a7a68251facebf0ac (diff) | |
download | linux-7ae4833af0dda3bdfb65004856c3f83871fd8ce4.tar.bz2 |
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>
Diffstat (limited to 'include/asm-m68k')
0 files changed, 0 insertions, 0 deletions