aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/x86/include/asm/fpu-internal.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/x86/include/asm/fpu-internal.h b/arch/x86/include/asm/fpu-internal.h
index 0ca72f0d4b41..92f3c6ed817f 100644
--- a/arch/x86/include/asm/fpu-internal.h
+++ b/arch/x86/include/asm/fpu-internal.h
@@ -109,8 +109,7 @@ static inline void fx_finit(struct i387_fxsave_struct *fx)
109{ 109{
110 memset(fx, 0, xstate_size); 110 memset(fx, 0, xstate_size);
111 fx->cwd = 0x37f; 111 fx->cwd = 0x37f;
112 if (cpu_has_xmm) 112 fx->mxcsr = MXCSR_DEFAULT;
113 fx->mxcsr = MXCSR_DEFAULT;
114} 113}
115 114
116extern void __sanitize_i387_state(struct task_struct *); 115extern void __sanitize_i387_state(struct task_struct *);