aboutsummaryrefslogtreecommitdiffstats
path: root/arch/ia64/sn/kernel/sn2/timer.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/ia64/sn/kernel/sn2/timer.c')
-rw-r--r--arch/ia64/sn/kernel/sn2/timer.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/arch/ia64/sn/kernel/sn2/timer.c b/arch/ia64/sn/kernel/sn2/timer.c
index 21d6f09e3447..c34efda122e1 100644
--- a/arch/ia64/sn/kernel/sn2/timer.c
+++ b/arch/ia64/sn/kernel/sn2/timer.c
@@ -33,8 +33,6 @@ static struct clocksource clocksource_sn2 = {
33 .rating = 450, 33 .rating = 450,
34 .read = read_sn2, 34 .read = read_sn2,
35 .mask = (1LL << 55) - 1, 35 .mask = (1LL << 55) - 1,
36 .mult = 0,
37 .shift = 10,
38 .flags = CLOCK_SOURCE_IS_CONTINUOUS, 36 .flags = CLOCK_SOURCE_IS_CONTINUOUS,
39}; 37};
40 38
@@ -57,9 +55,7 @@ ia64_sn_udelay (unsigned long usecs)
57void __init sn_timer_init(void) 55void __init sn_timer_init(void)
58{ 56{
59 clocksource_sn2.fsys_mmio = RTC_COUNTER_ADDR; 57 clocksource_sn2.fsys_mmio = RTC_COUNTER_ADDR;
60 clocksource_sn2.mult = clocksource_hz2mult(sn_rtc_cycles_per_second, 58 clocksource_register_hz(&clocksource_sn2, sn_rtc_cycles_per_second);
61 clocksource_sn2.shift);
62 clocksource_register(&clocksource_sn2);
63 59
64 ia64_udelay = &ia64_sn_udelay; 60 ia64_udelay = &ia64_sn_udelay;
65} 61}