diff options
Diffstat (limited to 'arch/x86/kernel/cpu/common.c')
-rw-r--r-- | arch/x86/kernel/cpu/common.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/x86/kernel/cpu/common.c b/arch/x86/kernel/cpu/common.c index 40561085d4f3..94c36c7ac183 100644 --- a/arch/x86/kernel/cpu/common.c +++ b/arch/x86/kernel/cpu/common.c | |||
@@ -1210,6 +1210,7 @@ void __cpuinit cpu_init(void) | |||
1210 | dbg_restore_debug_regs(); | 1210 | dbg_restore_debug_regs(); |
1211 | 1211 | ||
1212 | fpu_init(); | 1212 | fpu_init(); |
1213 | xsave_init(); | ||
1213 | 1214 | ||
1214 | raw_local_save_flags(kernel_eflags); | 1215 | raw_local_save_flags(kernel_eflags); |
1215 | 1216 | ||
@@ -1270,6 +1271,7 @@ void __cpuinit cpu_init(void) | |||
1270 | clear_used_math(); | 1271 | clear_used_math(); |
1271 | mxcsr_feature_mask_init(); | 1272 | mxcsr_feature_mask_init(); |
1272 | 1273 | ||
1274 | fpu_init(); | ||
1273 | xsave_init(); | 1275 | xsave_init(); |
1274 | } | 1276 | } |
1275 | #endif | 1277 | #endif |