diff options
| -rw-r--r-- | arch/x86/kernel/i387.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/i387.c b/arch/x86/kernel/i387.c index 202d24f0f7e7..5d576ab34403 100644 --- a/arch/x86/kernel/i387.c +++ b/arch/x86/kernel/i387.c | |||
| @@ -116,7 +116,7 @@ static void mxcsr_feature_mask_init(void) | |||
| 116 | 116 | ||
| 117 | if (cpu_has_fxsr) { | 117 | if (cpu_has_fxsr) { |
| 118 | memset(&fx_scratch, 0, sizeof(struct i387_fxsave_struct)); | 118 | memset(&fx_scratch, 0, sizeof(struct i387_fxsave_struct)); |
| 119 | asm volatile("fxsave %0" : : "m" (fx_scratch)); | 119 | asm volatile("fxsave %0" : "+m" (fx_scratch)); |
| 120 | mask = fx_scratch.mxcsr_mask; | 120 | mask = fx_scratch.mxcsr_mask; |
| 121 | if (mask == 0) | 121 | if (mask == 0) |
| 122 | mask = 0x0000ffbf; | 122 | mask = 0x0000ffbf; |
