diff options
Diffstat (limited to 'arch/i386/kernel/tsc.c')
-rw-r--r-- | arch/i386/kernel/tsc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/i386/kernel/tsc.c b/arch/i386/kernel/tsc.c index 7713f86389af..1c3c927755de 100644 --- a/arch/i386/kernel/tsc.c +++ b/arch/i386/kernel/tsc.c | |||
@@ -351,7 +351,7 @@ static int tsc_update_callback(void) | |||
351 | /* check to see if we should switch to the safe clocksource: */ | 351 | /* check to see if we should switch to the safe clocksource: */ |
352 | if (clocksource_tsc.rating != 50 && check_tsc_unstable()) { | 352 | if (clocksource_tsc.rating != 50 && check_tsc_unstable()) { |
353 | clocksource_tsc.rating = 50; | 353 | clocksource_tsc.rating = 50; |
354 | reselect_clocksource(); | 354 | clocksource_reselect(); |
355 | change = 1; | 355 | change = 1; |
356 | } | 356 | } |
357 | 357 | ||
@@ -469,7 +469,7 @@ static int __init init_tsc_clocksource(void) | |||
469 | jiffies + msecs_to_jiffies(TSC_FREQ_CHECK_INTERVAL); | 469 | jiffies + msecs_to_jiffies(TSC_FREQ_CHECK_INTERVAL); |
470 | add_timer(&verify_tsc_freq_timer); | 470 | add_timer(&verify_tsc_freq_timer); |
471 | 471 | ||
472 | return register_clocksource(&clocksource_tsc); | 472 | return clocksource_register(&clocksource_tsc); |
473 | } | 473 | } |
474 | 474 | ||
475 | return 0; | 475 | return 0; |