aboutsummaryrefslogtreecommitdiffstats
path: root/xen/arch/x86/cpu/common.c
diff options
context:
space:
mode:
Diffstat (limited to 'xen/arch/x86/cpu/common.c')
-rw-r--r--xen/arch/x86/cpu/common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xen/arch/x86/cpu/common.c b/xen/arch/x86/cpu/common.c
index b8cd59c2c9..44542f4d49 100644
--- a/xen/arch/x86/cpu/common.c
+++ b/xen/arch/x86/cpu/common.c
@@ -369,7 +369,7 @@ void __cpuinit identify_cpu(struct cpuinfo_x86 *c)
clear_bit(X86_FEATURE_XSAVE, boot_cpu_data.x86_capability);
if ( cpu_has_xsave )
- xstate_init();
+ xstate_init(c == &boot_cpu_data);
/*
* The vendor-specific functions might have changed features. Now