diff options
author | john stultz <johnstul@us.ibm.com> | 2009-05-01 22:10:28 +0200 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2009-05-03 10:32:55 +0200 |
commit | 7563431107f6debf57c1dbecfb9498cf31a1c036 (patch) | |
tree | 50e473f8eb90069b6e64675ee582dd3be76fbaef /arch/sh/kernel/timers | |
parent | sh: remove obsolete hw_interrupt_type (diff) | |
download | linux-7563431107f6debf57c1dbecfb9498cf31a1c036.tar.xz linux-7563431107f6debf57c1dbecfb9498cf31a1c036.zip |
time: sh: convert to use arch_getoffset() infrastructure
Convert sh to use GENERIC_TIME via the arch_getoffset() infrastructure.
Signed-off-by: John Stultz <johnstul@us.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/kernel/timers')
-rw-r--r-- | arch/sh/kernel/timers/timer-mtu2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sh/kernel/timers/timer-mtu2.c b/arch/sh/kernel/timers/timer-mtu2.c index 9b0ef0126479..8a1dcc2c3723 100644 --- a/arch/sh/kernel/timers/timer-mtu2.c +++ b/arch/sh/kernel/timers/timer-mtu2.c @@ -191,7 +191,7 @@ struct sys_timer_ops mtu2_timer_ops = { .init = mtu2_timer_init, .start = mtu2_timer_start, .stop = mtu2_timer_stop, -#ifndef CONFIG_GENERIC_TIME +#ifdef CONFIG_ARCH_USES_GETTIMEOFFSET .get_offset = mtu2_timer_get_offset, #endif }; |