diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2021-10-15 04:16:31 +0300 |
---|---|---|
committer | Borislav Petkov <bp@suse.de> | 2021-10-20 16:27:28 +0300 |
commit | d9d005f32aac7362a1998f4b7fdf8874e91546bd (patch) | |
tree | 64ac045329df4c2d6d3f7430c1e266a9d0ae42ba /arch/x86/kernel/fpu/xstate.c | |
parent | 9848fb96839bfd6ad4c00748842ccfd5bd3b0346 (diff) | |
download | linux-d9d005f32aac7362a1998f4b7fdf8874e91546bd.tar.xz |
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/xstate.c')
-rw-r--r-- | arch/x86/kernel/fpu/xstate.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/x86/kernel/fpu/xstate.c b/arch/x86/kernel/fpu/xstate.c index 246a7fea06b1..f0305b2b227f 100644 --- a/arch/x86/kernel/fpu/xstate.c +++ b/arch/x86/kernel/fpu/xstate.c @@ -14,8 +14,9 @@ #include <asm/fpu/api.h> #include <asm/fpu/internal.h> -#include <asm/fpu/signal.h> #include <asm/fpu/regset.h> +#include <asm/fpu/signal.h> +#include <asm/fpu/xcr.h> #include <asm/tlbflush.h> |