projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
446cc63
)
alpha: convert to clocksource_register_hz
author
John Stultz
<
[email protected]
>
Wed, 16 Feb 2011 06:34:49 +0000
(22:34 -0800)
committer
Matt Turner
<
[email protected]
>
Fri, 13 May 2011 23:16:10 +0000
(19:16 -0400)
Converts alpha to use clocksource_register_hz.
Signed-off-by: John Stultz <
[email protected]
>
CC: Richard Henderson <
[email protected]
>
CC: Ivan Kokshaysky <
[email protected]
>
CC: Thomas Gleixner <
[email protected]
>
Signed-off-by: Matt Turner <
[email protected]
>
arch/alpha/kernel/time.c
patch
|
blob
|
history
diff --git
a/arch/alpha/kernel/time.c
b/arch/alpha/kernel/time.c
index 918e8e0b72ff1e3220845ea410277a83ff326517..818e74ed45dc01bbc0eaef0eb60b2ccbf8c137e9 100644
(file)
--- 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)