diff options
author | john stultz <johnstul@us.ibm.com> | 2009-09-21 20:04:00 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-09-22 10:17:43 -0400 |
commit | 4f543fa41e78bd366123424a3378f2f4918c0f33 (patch) | |
tree | bf6e9fdb30c41de9833dcf2a363177ea0dc28a5d /arch/alpha/Kconfig | |
parent | 6e0c9e77771e08b171c4abeb073285d8fb03f528 (diff) |
alpha: convert to use arch_gettimeoffset()
Converts alpha to use GENERIC_TIME via the arch_getoffset()
infrastructure, reducing the amount of arch specific code we need to
maintain.
I suspect the alpha arch could even be further improved to provide and
rpcc() based clocksource, but not having the hardware, I don't feel
comfortable attempting the more complicated conversion (but I'd be glad to
help if anyone else is interested).
[akpm@linux-foundation.org: fix build]
Signed-off-by: John Stultz <johnstul@us.ibm.com>
Cc: Richard Henderson <rth@twiddle.net>
Cc: Ivan Kokshaysky <ink@jurassic.park.msu.ru>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/alpha/Kconfig')
-rw-r--r-- | arch/alpha/Kconfig | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/alpha/Kconfig b/arch/alpha/Kconfig index 9fb8aae5c391..443448154f32 100644 --- a/arch/alpha/Kconfig +++ b/arch/alpha/Kconfig | |||
@@ -45,6 +45,14 @@ config GENERIC_CALIBRATE_DELAY | |||
45 | bool | 45 | bool |
46 | default y | 46 | default y |
47 | 47 | ||
48 | config GENERIC_TIME | ||
49 | bool | ||
50 | default y | ||
51 | |||
52 | config ARCH_USES_GETTIMEOFFSET | ||
53 | bool | ||
54 | default y | ||
55 | |||
48 | config ZONE_DMA | 56 | config ZONE_DMA |
49 | bool | 57 | bool |
50 | default y | 58 | default y |