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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/cpu/common.c b/arch/x86/kernel/cpu/common.c
index 25581dcb280e..93e9393ea64a 100644
--- a/arch/x86/kernel/cpu/common.c
+++ b/arch/x86/kernel/cpu/common.c
@@ -1134,7 +1134,7 @@ void __cpuinit cpu_init(void)
1134 /* 1134 /*
1135 * Boot processor to setup the FP and extended state context info. 1135 * Boot processor to setup the FP and extended state context info.
1136 */ 1136 */
1137 if (!smp_processor_id()) 1137 if (smp_processor_id() == boot_cpu_id)
1138 init_thread_xstate(); 1138 init_thread_xstate();
1139 1139
1140 xsave_init(); 1140 xsave_init();