aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/setup_64.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/kernel/setup_64.c')
-rw-r--r--arch/x86/kernel/setup_64.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/arch/x86/kernel/setup_64.c b/arch/x86/kernel/setup_64.c
index 2139aa6ac469..bc7758ea06af 100644
--- a/arch/x86/kernel/setup_64.c
+++ b/arch/x86/kernel/setup_64.c
@@ -888,10 +888,7 @@ static void __cpuinit init_intel(struct cpuinfo_x86 *c)
888 set_cpu_cap(c, X86_FEATURE_CONSTANT_TSC); 888 set_cpu_cap(c, X86_FEATURE_CONSTANT_TSC);
889 if (c->x86 == 6) 889 if (c->x86 == 6)
890 set_cpu_cap(c, X86_FEATURE_REP_GOOD); 890 set_cpu_cap(c, X86_FEATURE_REP_GOOD);
891 if (c->x86 == 15) 891 set_cpu_cap(c, X86_FEATURE_LFENCE_RDTSC);
892 set_cpu_cap(c, X86_FEATURE_SYNC_RDTSC);
893 else
894 clear_cpu_cap(c, X86_FEATURE_SYNC_RDTSC);
895 c->x86_max_cores = intel_num_cpu_cores(c); 892 c->x86_max_cores = intel_num_cpu_cores(c);
896 893
897 srat_detect_node(); 894 srat_detect_node();