]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
alpha: convert to use arch_gettimeoffset()
authorjohn stultz <johnstul@us.ibm.com>
Tue, 22 Sep 2009 00:04:00 +0000 (17:04 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 22 Sep 2009 14:17:43 +0000 (07:17 -0700)
commit4f543fa41e78bd366123424a3378f2f4918c0f33
treebf6e9fdb30c41de9833dcf2a363177ea0dc28a5d
parent6e0c9e77771e08b171c4abeb073285d8fb03f528
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>
arch/alpha/Kconfig
arch/alpha/kernel/time.c