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 24c3dd89ac..e1220e658c 100644
--- a/xen/arch/x86/cpu/common.c
+++ b/xen/arch/x86/cpu/common.c
@@ -304,7 +304,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