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>
This commit is contained in:
John Stultz 2011-02-15 22:34:49 -08:00 committed by Matt Turner
parent 446cc6345d
commit f550806a7f
1 changed files with 1 additions and 2 deletions

View File

@ -375,8 +375,7 @@ static struct clocksource clocksource_rpcc = {
static inline void register_rpcc_clocksource(long cycle_freq) static inline void register_rpcc_clocksource(long cycle_freq)
{ {
clocksource_calc_mult_shift(&clocksource_rpcc, cycle_freq, 4); clocksource_register_hz(&clocksource_rpcc, cycle_freq);
clocksource_register(&clocksource_rpcc);
} }
#else /* !CONFIG_SMP */ #else /* !CONFIG_SMP */
static inline void register_rpcc_clocksource(long cycle_freq) static inline void register_rpcc_clocksource(long cycle_freq)