x86/fpu: Pass 'struct fpu' to fpu__restore()
[cascardo/linux.git] / arch / x86 / kernel / fpu / signal.c
index 99f7309..50ec9af 100644 (file)
@@ -319,7 +319,7 @@ static int __fpu__restore_sig(void __user *buf, void __user *buf_fx, int size)
                fpu->fpstate_active = 1;
                if (use_eager_fpu()) {
                        preempt_disable();
-                       fpu__restore();
+                       fpu__restore(fpu);
                        preempt_enable();
                }