diff options
author | Paul Mundt <lethal@linux-sh.org> | 2009-05-03 18:18:14 +0900 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2009-05-03 18:18:14 +0900 |
commit | dec56e6312434b2536fedf9d7e9e73d666aaf0a8 (patch) | |
tree | 74a85790e34e1f42613e1aa66717498f387c2799 /arch/sh/kernel/time_32.c | |
parent | 938edae11ee3a7b20b6d754074a0f2c2edc4534b (diff) | |
download | blackbird-op-linux-dec56e6312434b2536fedf9d7e9e73d666aaf0a8.tar.gz blackbird-op-linux-dec56e6312434b2536fedf9d7e9e73d666aaf0a8.zip |
sh: Kill off the now unused ARCH_USES_GETTIMEOFFSET code.
Now that the stragglers (MTU2/CMT/etc.) have been rewritten and we are
selecting both GENERIC_TIME and GENERIC_CLOCKEVENTS, the get_offset()
timer op is completely unused. As a result, we are now able to kill off
the ARCH_USES_GETTIMEOFFSET references.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/kernel/time_32.c')
-rw-r--r-- | arch/sh/kernel/time_32.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/arch/sh/kernel/time_32.c b/arch/sh/kernel/time_32.c index 9d34dff14994..d41ca4cf20cf 100644 --- a/arch/sh/kernel/time_32.c +++ b/arch/sh/kernel/time_32.c @@ -83,13 +83,6 @@ static int __init rtc_generic_init(void) } module_init(rtc_generic_init); -#ifdef CONFIG_ARCH_USES_GETTIMEOFFSET -u32 arch_gettimeoffset(void) -{ - return get_timer_offset() * 1000; -} -#endif /* CONFIG_ARCH_USES_GETTIMEOFFSET */ - /* last time the RTC clock got updated */ static long last_rtc_update; @@ -185,7 +178,6 @@ struct clocksource clocksource_sh = { .name = "SuperH", }; -#ifndef CONFIG_ARCH_USES_GETTIMEOFFSET unsigned long long sched_clock(void) { unsigned long long cycles; @@ -197,7 +189,6 @@ unsigned long long sched_clock(void) cycles = clocksource_sh.read(&clocksource_sh); return cyc2ns(&clocksource_sh, cycles); } -#endif static void __init sh_late_time_init(void) { |