aboutsummaryrefslogtreecommitdiffstats
path: root/arch/i386/kernel/tsc.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/i386/kernel/tsc.c')
-rw-r--r--arch/i386/kernel/tsc.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/i386/kernel/tsc.c b/arch/i386/kernel/tsc.c
index d4000649942a..6f6971da761c 100644
--- a/arch/i386/kernel/tsc.c
+++ b/arch/i386/kernel/tsc.c
@@ -323,8 +323,7 @@ static int tsc_update_callback(void)
323 323
324 /* check to see if we should switch to the safe clocksource: */ 324 /* check to see if we should switch to the safe clocksource: */
325 if (clocksource_tsc.rating != 0 && check_tsc_unstable()) { 325 if (clocksource_tsc.rating != 0 && check_tsc_unstable()) {
326 clocksource_tsc.rating = 0; 326 clocksource_change_rating(&clocksource_tsc, 0);
327 clocksource_reselect();
328 change = 1; 327 change = 1;
329 } 328 }
330 329