aboutsummaryrefslogtreecommitdiffstats
path: root/arch/ia64/kernel/time.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/ia64/kernel/time.c')
-rw-r--r--arch/ia64/kernel/time.c9
1 files changed, 2 insertions, 7 deletions
diff --git a/arch/ia64/kernel/time.c b/arch/ia64/kernel/time.c
index 156ad803d5b7..04440cc09b40 100644
--- a/arch/ia64/kernel/time.c
+++ b/arch/ia64/kernel/time.c
@@ -73,8 +73,6 @@ static struct clocksource clocksource_itc = {
73 .rating = 350, 73 .rating = 350,
74 .read = itc_get_cycles, 74 .read = itc_get_cycles,
75 .mask = CLOCKSOURCE_MASK(64), 75 .mask = CLOCKSOURCE_MASK(64),
76 .mult = 0, /*to be calculated*/
77 .shift = 16,
78 .flags = CLOCK_SOURCE_IS_CONTINUOUS, 76 .flags = CLOCK_SOURCE_IS_CONTINUOUS,
79#ifdef CONFIG_PARAVIRT 77#ifdef CONFIG_PARAVIRT
80 .resume = paravirt_clocksource_resume, 78 .resume = paravirt_clocksource_resume,
@@ -365,11 +363,8 @@ ia64_init_itm (void)
365 ia64_cpu_local_tick(); 363 ia64_cpu_local_tick();
366 364
367 if (!itc_clocksource) { 365 if (!itc_clocksource) {
368 /* Sort out mult/shift values: */ 366 clocksource_register_hz(&clocksource_itc,
369 clocksource_itc.mult = 367 local_cpu_data->itc_freq);
370 clocksource_hz2mult(local_cpu_data->itc_freq,
371 clocksource_itc.shift);
372 clocksource_register(&clocksource_itc);
373 itc_clocksource = &clocksource_itc; 368 itc_clocksource = &clocksource_itc;
374 } 369 }
375} 370}