aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 c1f3e7cb82a4..33b81108dc83 100644
--- a/arch/alpha/kernel/time.c
+++ b/arch/alpha/kernel/time.c
@@ -378,8 +378,7 @@ static struct clocksource clocksource_rpcc = {
378 378
379static inline void register_rpcc_clocksource(long cycle_freq) 379static inline void register_rpcc_clocksource(long cycle_freq)
380{ 380{
381 clocksource_calc_mult_shift(&clocksource_rpcc, cycle_freq, 4); 381 clocksource_register_hz(&clocksource_rpcc, cycle_freq);
382 clocksource_register(&clocksource_rpcc);
383} 382}
384#else /* !CONFIG_SMP */ 383#else /* !CONFIG_SMP */
385static inline void register_rpcc_clocksource(long cycle_freq) 384static inline void register_rpcc_clocksource(long cycle_freq)