aboutsummaryrefslogtreecommitdiff
path: root/arch/x86/math-emu/fpu_aux.c
diff options
context:
space:
mode:
authorThomas Gleixner <[email protected]>2021-10-13 16:55:40 +0200
committerBorislav Petkov <[email protected]>2021-10-20 23:57:54 +0200
commit63d6bdf36ce1541e656966604c12ac4d9fc5d1f0 (patch)
tree76a704978dae1200984917fcd781539125a92f8b /arch/x86/math-emu/fpu_aux.c
parentc20942ce5128ef92e2c451f943ba33462ad2fbc4 (diff)
x86/math-emu: Convert to fpstate
Convert math emulation code to the new register storage mechanism in preparation for dynamically sized buffers. No functional change. Signed-off-by: Thomas Gleixner <[email protected]> Signed-off-by: Borislav Petkov <[email protected]> Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'arch/x86/math-emu/fpu_aux.c')
-rw-r--r--arch/x86/math-emu/fpu_aux.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/math-emu/fpu_aux.c b/arch/x86/math-emu/fpu_aux.c
index 034748459482..d62662bdd460 100644
--- a/arch/x86/math-emu/fpu_aux.c
+++ b/arch/x86/math-emu/fpu_aux.c
@@ -53,7 +53,7 @@ void fpstate_init_soft(struct swregs_state *soft)
void finit(void)
{
- fpstate_init_soft(&current->thread.fpu.state.soft);
+ fpstate_init_soft(&current->thread.fpu.fpstate->regs.soft);
}
/*