Skip to content

Commit

Permalink
alpha: convert to clocksource_register_hz
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
John Stultz authored and Matt Turner committed May 13, 2011
1 parent 446cc63 commit f550806
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions arch/alpha/kernel/time.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit f550806

Please sign in to comment.