aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 3f715efc594d..26804b2986b8 100644
--- a/arch/x86/kernel/cpu/common.c
+++ b/arch/x86/kernel/cpu/common.c
@@ -1273,7 +1273,7 @@ void __cpuinit cpu_init(void)
1273 /* 1273 /*
1274 * Boot processor to setup the FP and extended state context info. 1274 * Boot processor to setup the FP and extended state context info.
1275 */ 1275 */
1276 if (smp_processor_id() == boot_cpu_id) 1276 if (!smp_processor_id())
1277 init_thread_xstate(); 1277 init_thread_xstate();
1278 1278
1279 xsave_init(); 1279 xsave_init();