aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/cpu/common.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/kernel/cpu/common.c')
-rw-r--r--arch/x86/kernel/cpu/common.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/arch/x86/kernel/cpu/common.c b/arch/x86/kernel/cpu/common.c
index 7505f7b13e71..ca165ac6793b 100644
--- a/arch/x86/kernel/cpu/common.c
+++ b/arch/x86/kernel/cpu/common.c
@@ -1237,7 +1237,7 @@ void __cpuinit cpu_init(void)
1237 oist = &per_cpu(orig_ist, cpu); 1237 oist = &per_cpu(orig_ist, cpu);
1238 1238
1239#ifdef CONFIG_NUMA 1239#ifdef CONFIG_NUMA
1240 if (cpu != 0 && this_cpu_read(numa_node) == 0 && 1240 if (this_cpu_read(numa_node) == 0 &&
1241 early_cpu_to_node(cpu) != NUMA_NO_NODE) 1241 early_cpu_to_node(cpu) != NUMA_NO_NODE)
1242 set_numa_node(early_cpu_to_node(cpu)); 1242 set_numa_node(early_cpu_to_node(cpu));
1243#endif 1243#endif
@@ -1269,8 +1269,7 @@ void __cpuinit cpu_init(void)
1269 barrier(); 1269 barrier();
1270 1270
1271 x86_configure_nx(); 1271 x86_configure_nx();
1272 if (cpu != 0) 1272 enable_x2apic();
1273 enable_x2apic();
1274 1273
1275 /* 1274 /*
1276 * set up and load the per-CPU TSS 1275 * set up and load the per-CPU TSS