sh: Kill off the global rtc_lock with extreme prejudice.
[linux-drm-fsl-dcu.git] / arch / sh / kernel / time.c
index c26576a5a454cbe7ff0b0e0ba245318c3144a827..e0aa769481ff0b4da2eb96e22b6abb563b5c2986 100644 (file)
@@ -17,7 +17,6 @@
 #include <linux/timex.h>
 #include <linux/sched.h>
 #include <linux/clockchips.h>
-#include <linux/mc146818rtc.h> /* for rtc_lock */
 #include <linux/platform_device.h>
 #include <linux/smp.h>
 #include <linux/rtc.h>
 
 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)
 {