summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Stultz <johnstul@us.ibm.com>2011-02-15 22:34:49 -0800
committerMatt Turner <mattst88@gmail.com>2011-05-13 19:16:10 -0400
commitf550806a7fbca06b487238442546aceb7ecbb0c9 (patch)
treeb71da9ac8c3b11228c2c33e1accb8309e894f81c
parent446cc6345d3de6571bdd0840f48aca441488a28d (diff)
downloadlinux-3.10-f550806a7fbca06b487238442546aceb7ecbb0c9.tar.gz
linux-3.10-f550806a7fbca06b487238442546aceb7ecbb0c9.tar.bz2
linux-3.10-f550806a7fbca06b487238442546aceb7ecbb0c9.zip
alpha: convert to clocksource_register_hz
Converts alpha to use clocksource_register_hz. Signed-off-by: John Stultz <johnstul@us.ibm.com> CC: Richard Henderson <rth@twiddle.net> CC: Ivan Kokshaysky <ink@jurassic.park.msu.ru> CC: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Matt Turner <mattst88@gmail.com>
-rw-r--r--arch/alpha/kernel/time.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/alpha/kernel/time.c b/arch/alpha/kernel/time.c
index 918e8e0b72f..818e74ed45d 100644
--- a/arch/alpha/kernel/time.c
+++ b/arch/alpha/kernel/time.c
@@ -375,8 +375,7 @@ static struct clocksource clocksource_rpcc = {
static inline void register_rpcc_clocksource(long cycle_freq)
{
- clocksource_calc_mult_shift(&clocksource_rpcc, cycle_freq, 4);
- clocksource_register(&clocksource_rpcc);
+ clocksource_register_hz(&clocksource_rpcc, cycle_freq);
}
#else /* !CONFIG_SMP */
static inline void register_rpcc_clocksource(long cycle_freq)