]> git.baikalelectronics.ru Git - kernel.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)
commit6ef3a6778968ff2489d6cfffa787ae22bb9aeb7b
treebf6e9fdb30c41de9833dcf2a363177ea0dc28a5d
parentbc6ed92b4320c8a0e239f450f14c14d8c0fc853d
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