diff options
Diffstat (limited to 'arch/x86/kernel/cpu/intel.c')
-rw-r--r-- | arch/x86/kernel/cpu/intel.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/arch/x86/kernel/cpu/intel.c b/arch/x86/kernel/cpu/intel.c index 203f860d2ab3..026c728d6ba7 100644 --- a/arch/x86/kernel/cpu/intel.c +++ b/arch/x86/kernel/cpu/intel.c | |||
@@ -119,8 +119,10 @@ static void early_init_intel(struct cpuinfo_x86 *c) | |||
119 | if (c->x86_power & (1 << 8)) { | 119 | if (c->x86_power & (1 << 8)) { |
120 | set_cpu_cap(c, X86_FEATURE_CONSTANT_TSC); | 120 | set_cpu_cap(c, X86_FEATURE_CONSTANT_TSC); |
121 | set_cpu_cap(c, X86_FEATURE_NONSTOP_TSC); | 121 | set_cpu_cap(c, X86_FEATURE_NONSTOP_TSC); |
122 | if (!check_tsc_unstable()) | 122 | if (check_tsc_unstable()) |
123 | set_sched_clock_stable(); | 123 | clear_sched_clock_stable(); |
124 | } else { | ||
125 | clear_sched_clock_stable(); | ||
124 | } | 126 | } |
125 | 127 | ||
126 | /* Penwell and Cloverview have the TSC which doesn't sleep on S3 */ | 128 | /* Penwell and Cloverview have the TSC which doesn't sleep on S3 */ |