diff --git a/arch/x86/kernel/i387.c b/arch/x86/kernel/i387.c index 909d10d2fb70e355485be45fc4ac448070dc52c5..76006a701dbbab1c50d39f931fcbdf655034fe26 100644 --- a/arch/x86/kernel/i387.c +++ b/arch/x86/kernel/i387.c @@ -291,8 +291,6 @@ static int fpu__unlazy_stopped(struct task_struct *child) return -EINVAL; if (tsk_used_math(child)) { - if (cpu_has_fpu && child == current) - fpu__save(child); task_disable_lazy_fpu_restore(child); return 0; }