summaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/fpu/regset.c
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2021-10-15 03:16:31 +0200
committerBorislav Petkov <bp@suse.de>2021-10-20 15:27:28 +0200
commitd9d005f32aac7362a1998f4b7fdf8874e91546bd (patch)
tree64ac045329df4c2d6d3f7430c1e266a9d0ae42ba /arch/x86/kernel/fpu/regset.c
parentx86/fpu: Move fpregs_restore_userregs() to core (diff)
downloadlinux-d9d005f32aac7362a1998f4b7fdf8874e91546bd.tar.xz
linux-d9d005f32aac7362a1998f4b7fdf8874e91546bd.zip
x86/fpu: Move mxcsr related code to core
No need to expose that to code which only needs the XCR0 accessors. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Borislav Petkov <bp@suse.de> Link: https://lkml.kernel.org/r/20211015011539.740012411@linutronix.de
Diffstat (limited to 'arch/x86/kernel/fpu/regset.c')
-rw-r--r--arch/x86/kernel/fpu/regset.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/kernel/fpu/regset.c b/arch/x86/kernel/fpu/regset.c
index a40150e350b6..3d8ed45da166 100644
--- a/arch/x86/kernel/fpu/regset.c
+++ b/arch/x86/kernel/fpu/regset.c
@@ -12,6 +12,7 @@
#include "context.h"
#include "internal.h"
+#include "legacy.h"
/*
* The xstateregs_active() routine is the same as the regset_fpregs_active() routine,