diff options
author | Paul Mundt <lethal@linux-sh.org> | 2009-05-08 03:59:05 -0400 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2009-05-08 03:59:05 -0400 |
commit | 1af2fe45fec15bdba446c22b9b602699cdabfc9f (patch) | |
tree | 626d565f0f1108cc03fd1a1b921a44ab37acabc8 /arch/sh/kernel/time.c | |
parent | cd1408f22d2fd8f0d09c082b07cf0b9bcfb6eac9 (diff) |
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 <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/kernel/time.c')
-rw-r--r-- | arch/sh/kernel/time.c | 5 |
1 files changed, 0 insertions, 5 deletions
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 @@ | |||
17 | #include <linux/timex.h> | 17 | #include <linux/timex.h> |
18 | #include <linux/sched.h> | 18 | #include <linux/sched.h> |
19 | #include <linux/clockchips.h> | 19 | #include <linux/clockchips.h> |
20 | #include <linux/mc146818rtc.h> /* for rtc_lock */ | ||
21 | #include <linux/platform_device.h> | 20 | #include <linux/platform_device.h> |
22 | #include <linux/smp.h> | 21 | #include <linux/smp.h> |
23 | #include <linux/rtc.h> | 22 | #include <linux/rtc.h> |
@@ -27,10 +26,6 @@ | |||
27 | 26 | ||
28 | struct sys_timer *sys_timer; | 27 | struct sys_timer *sys_timer; |
29 | 28 | ||
30 | /* Move this somewhere more sensible.. */ | ||
31 | DEFINE_SPINLOCK(rtc_lock); | ||
32 | EXPORT_SYMBOL(rtc_lock); | ||
33 | |||
34 | /* Dummy RTC ops */ | 29 | /* Dummy RTC ops */ |
35 | static void null_rtc_get_time(struct timespec *tv) | 30 | static void null_rtc_get_time(struct timespec *tv) |
36 | { | 31 | { |