diff options
author | John Stultz <johnstul@us.ibm.com> | 2011-02-15 22:34:49 -0800 |
---|---|---|
committer | Matt Turner <mattst88@gmail.com> | 2011-05-13 19:16:10 -0400 |
commit | f550806a7fbca06b487238442546aceb7ecbb0c9 (patch) | |
tree | b71da9ac8c3b11228c2c33e1accb8309e894f81c /arch | |
parent | 446cc6345d3de6571bdd0840f48aca441488a28d (diff) | |
download | blackbird-op-linux-f550806a7fbca06b487238442546aceb7ecbb0c9.tar.gz blackbird-op-linux-f550806a7fbca06b487238442546aceb7ecbb0c9.zip |
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>
Diffstat (limited to 'arch')
-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 918e8e0b72ff..818e74ed45dc 100644 --- a/arch/alpha/kernel/time.c +++ b/arch/alpha/kernel/time.c @@ -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) |