diff options
Diffstat (limited to 'arch')
-rw-r--r-- | arch/x86_64/kernel/setup.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/arch/x86_64/kernel/setup.c b/arch/x86_64/kernel/setup.c index 05eaca41802b..6595a4ebe7f1 100644 --- a/arch/x86_64/kernel/setup.c +++ b/arch/x86_64/kernel/setup.c | |||
@@ -860,7 +860,10 @@ static void __cpuinit init_intel(struct cpuinfo_x86 *c) | |||
860 | set_bit(X86_FEATURE_CONSTANT_TSC, &c->x86_capability); | 860 | set_bit(X86_FEATURE_CONSTANT_TSC, &c->x86_capability); |
861 | if (c->x86 == 6) | 861 | if (c->x86 == 6) |
862 | set_bit(X86_FEATURE_REP_GOOD, &c->x86_capability); | 862 | set_bit(X86_FEATURE_REP_GOOD, &c->x86_capability); |
863 | set_bit(X86_FEATURE_SYNC_RDTSC, &c->x86_capability); | 863 | if (c->x86 == 15) |
864 | set_bit(X86_FEATURE_SYNC_RDTSC, &c->x86_capability); | ||
865 | else | ||
866 | clear_bit(X86_FEATURE_SYNC_RDTSC, &c->x86_capability); | ||
864 | c->x86_max_cores = intel_num_cpu_cores(c); | 867 | c->x86_max_cores = intel_num_cpu_cores(c); |
865 | 868 | ||
866 | srat_detect_node(); | 869 | srat_detect_node(); |