summaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/fpu/context.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/kernel/fpu/context.h')
-rw-r--r--arch/x86/kernel/fpu/context.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/fpu/context.h b/arch/x86/kernel/fpu/context.h
index e652282842c8..f8f510519688 100644
--- a/arch/x86/kernel/fpu/context.h
+++ b/arch/x86/kernel/fpu/context.h
@@ -74,7 +74,7 @@ static inline void fpregs_restore_userregs(void)
*/
mask = xfeatures_mask_restore_user() |
xfeatures_mask_supervisor();
- restore_fpregs_from_fpstate(&fpu->state, mask);
+ restore_fpregs_from_fpstate(fpu->fpstate, mask);
fpregs_activate(fpu);
fpu->last_cpu = cpu;