diff options
Diffstat (limited to 'arch/x86/kernel/cpu/amd.c')
-rw-r--r-- | arch/x86/kernel/cpu/amd.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/arch/x86/kernel/cpu/amd.c b/arch/x86/kernel/cpu/amd.c index 2b4cf04239b6..4e95b2e0d95f 100644 --- a/arch/x86/kernel/cpu/amd.c +++ b/arch/x86/kernel/cpu/amd.c | |||
@@ -555,8 +555,10 @@ static void early_init_amd(struct cpuinfo_x86 *c) | |||
555 | if (c->x86_power & (1 << 8)) { | 555 | if (c->x86_power & (1 << 8)) { |
556 | set_cpu_cap(c, X86_FEATURE_CONSTANT_TSC); | 556 | set_cpu_cap(c, X86_FEATURE_CONSTANT_TSC); |
557 | set_cpu_cap(c, X86_FEATURE_NONSTOP_TSC); | 557 | set_cpu_cap(c, X86_FEATURE_NONSTOP_TSC); |
558 | if (!check_tsc_unstable()) | 558 | if (check_tsc_unstable()) |
559 | set_sched_clock_stable(); | 559 | clear_sched_clock_stable(); |
560 | } else { | ||
561 | clear_sched_clock_stable(); | ||
560 | } | 562 | } |
561 | 563 | ||
562 | /* Bit 12 of 8000_0007 edx is accumulated power mechanism. */ | 564 | /* Bit 12 of 8000_0007 edx is accumulated power mechanism. */ |