diff options
-rw-r--r-- | arch/x86/include/asm/fpu-internal.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/include/asm/fpu-internal.h b/arch/x86/include/asm/fpu-internal.h index fb808d71cd70..4d0bda7b11e3 100644 --- a/arch/x86/include/asm/fpu-internal.h +++ b/arch/x86/include/asm/fpu-internal.h | |||
@@ -343,7 +343,7 @@ static inline void __thread_fpu_end(struct task_struct *tsk) | |||
343 | 343 | ||
344 | static inline void __thread_fpu_begin(struct task_struct *tsk) | 344 | static inline void __thread_fpu_begin(struct task_struct *tsk) |
345 | { | 345 | { |
346 | if (!use_eager_fpu()) | 346 | if (!static_cpu_has_safe(X86_FEATURE_EAGER_FPU)) |
347 | clts(); | 347 | clts(); |
348 | __thread_set_has_fpu(tsk); | 348 | __thread_set_has_fpu(tsk); |
349 | } | 349 | } |