diff options
Diffstat (limited to 'arch/x86/kernel/tsc.c')
-rw-r--r-- | arch/x86/kernel/tsc.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/arch/x86/kernel/tsc.c b/arch/x86/kernel/tsc.c index 968425422c46..fc3672a303d6 100644 --- a/arch/x86/kernel/tsc.c +++ b/arch/x86/kernel/tsc.c | |||
@@ -767,12 +767,14 @@ void mark_tsc_unstable(char *reason) | |||
767 | { | 767 | { |
768 | if (!tsc_unstable) { | 768 | if (!tsc_unstable) { |
769 | tsc_unstable = 1; | 769 | tsc_unstable = 1; |
770 | printk("Marking TSC unstable due to %s\n", reason); | 770 | printk(KERN_INFO "Marking TSC unstable due to %s\n", reason); |
771 | /* Change only the rating, when not registered */ | 771 | /* Change only the rating, when not registered */ |
772 | if (clocksource_tsc.mult) | 772 | if (clocksource_tsc.mult) |
773 | clocksource_change_rating(&clocksource_tsc, 0); | 773 | clocksource_mark_unstable(&clocksource_tsc); |
774 | else | 774 | else { |
775 | clocksource_tsc.flags |= CLOCK_SOURCE_UNSTABLE; | ||
775 | clocksource_tsc.rating = 0; | 776 | clocksource_tsc.rating = 0; |
777 | } | ||
776 | } | 778 | } |
777 | } | 779 | } |
778 | 780 | ||