From: Paul Mundt Date: Fri, 8 May 2009 07:59:05 +0000 (+0900) Subject: sh: Kill off the global rtc_lock with extreme prejudice. X-Git-Tag: v2.6.31-rc1~392^2~41^2~81 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=1af2fe45fec15bdba446c22b9b602699cdabfc9f;p=karo-tx-linux.git sh: Kill off the global rtc_lock with extreme prejudice. Now that all of the possible users for rtc_lock have gone away, it is no longer necessary to keep this lock definition around. This follows several other architectures that have either recently dropped it or never supported it in the first place. Signed-off-by: Paul Mundt --- diff --git a/arch/sh/kernel/time.c b/arch/sh/kernel/time.c index c26576a5a454..e0aa769481ff 100644 --- a/arch/sh/kernel/time.c +++ b/arch/sh/kernel/time.c @@ -17,7 +17,6 @@ #include #include #include -#include /* for rtc_lock */ #include #include #include @@ -27,10 +26,6 @@ struct sys_timer *sys_timer; -/* Move this somewhere more sensible.. */ -DEFINE_SPINLOCK(rtc_lock); -EXPORT_SYMBOL(rtc_lock); - /* Dummy RTC ops */ static void null_rtc_get_time(struct timespec *tv) {