diff options
author | John Stultz <johnstul@us.ibm.com> | 2010-10-19 17:49:07 -0700 |
---|---|---|
committer | John Stultz <john.stultz@linaro.org> | 2011-02-21 13:33:48 -0800 |
commit | 7861434fe9b5c9dad1bbb1f674cded95950e778e (patch) | |
tree | 02bf1b7ed3addcc29e1f1e5b1e4d5b66377ea8aa | |
parent | b8f39f7dfe12d4c8402c493a24fbf1e21d086771 (diff) | |
download | op-kernel-dev-7861434fe9b5c9dad1bbb1f674cded95950e778e.zip op-kernel-dev-7861434fe9b5c9dad1bbb1f674cded95950e778e.tar.gz |
alpha: convert to clocksource_register_hz
Converts alpha to use clocksource_register_hz.
CC: Richard Henderson <rth@twiddle.net>
CC: Ivan Kokshaysky <ink@jurassic.park.msu.ru>
CC: Matt Turner <mattst88@gmail.com>
CC: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: John Stultz <johnstul@us.ibm.com>
-rw-r--r-- | arch/alpha/kernel/time.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/alpha/kernel/time.c b/arch/alpha/kernel/time.c index c1f3e7c..33b8110 100644 --- a/arch/alpha/kernel/time.c +++ b/arch/alpha/kernel/time.c @@ -378,8 +378,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) |