]> git.karo-electronics.de Git - karo-tx-linux.git/commit
sh: mach-sh03: Give the sh03 rtc its own spinlock.
authorPaul Mundt <lethal@linux-sh.org>
Fri, 8 May 2009 07:57:35 +0000 (16:57 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Fri, 8 May 2009 07:57:35 +0000 (16:57 +0900)
commitcd1408f22d2fd8f0d09c082b07cf0b9bcfb6eac9
treef0e829ea1649d51087c4a5a9f088b7e585fb1d90
parent6459d7bb72e9767bc7d22f2ee44aab35188e4b8a
sh: mach-sh03: Give the sh03 rtc its own spinlock.

This converts the sh03 rtc code off of using the global rtc_lock and on
to its own spinlock. There are no other possible users of the rtc_lock,
so serializing with it is not necessary.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/boards/mach-sh03/rtc.c