aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/fpu/signal.c
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2021-10-15 03:16:24 +0200
committerBorislav Petkov <bp@suse.de>2021-10-20 15:27:28 +0200
commitdf95b0f1aa56dfa71a0ef657e3e62294ee6d9034 (patch)
tree0184f967f885388c953fdde62b1c7150f5000237 /arch/x86/kernel/fpu/signal.c
parentx86/fpu: Make os_xrstor_booting() private (diff)
downloadlinux-dev-df95b0f1aa56dfa71a0ef657e3e62294ee6d9034.tar.xz
linux-dev-df95b0f1aa56dfa71a0ef657e3e62294ee6d9034.zip
x86/fpu: Move os_xsave() and os_xrstor() to core
Nothing outside the core code needs these. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Borislav Petkov <bp@suse.de> Link: https://lkml.kernel.org/r/20211015011539.513368075@linutronix.de
Diffstat (limited to 'arch/x86/kernel/fpu/signal.c')
-rw-r--r--arch/x86/kernel/fpu/signal.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/kernel/fpu/signal.c b/arch/x86/kernel/fpu/signal.c
index 2a4d1d0b32d4..3b38c59ce3f8 100644
--- a/arch/x86/kernel/fpu/signal.c
+++ b/arch/x86/kernel/fpu/signal.c
@@ -17,6 +17,7 @@
#include <asm/trace/fpu.h>
#include "internal.h"
+#include "xstate.h"
static struct _fpx_sw_bytes fx_sw_reserved __ro_after_init;
static struct _fpx_sw_bytes fx_sw_reserved_ia32 __ro_after_init;