Commit-ID: 7861434fe9b5c9dad1bbb1f674cded95950e778e Gitweb: http://git.kernel.org/tip/7861434fe9b5c9dad1bbb1f674cded95950e778e Author: John Stultz <johnstul@xxxxxxxxxx> AuthorDate: Tue, 19 Oct 2010 17:49:07 -0700 Committer: John Stultz <john.stultz@xxxxxxxxxx> CommitDate: Mon, 21 Feb 2011 13:33:48 -0800 alpha: convert to clocksource_register_hz Converts alpha to use clocksource_register_hz. CC: Richard Henderson <rth@xxxxxxxxxxx> CC: Ivan Kokshaysky <ink@xxxxxxxxxxxxxxxxxxxx> CC: Matt Turner <mattst88@xxxxxxxxx> CC: Thomas Gleixner <tglx@xxxxxxxxxxxxx> Signed-off-by: John Stultz <johnstul@xxxxxxxxxx> --- 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) -- To unsubscribe from this list: send the line "unsubscribe linux-tip-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html