summaryrefslogtreecommitdiff
path: root/arch/x86/include/asm/fpu/xstate.h
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/include/asm/fpu/xstate.h
parentb579d0c3750eedc0dee433edaba88206a8e4348a (diff)
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/include/asm/fpu/xstate.h')
-rw-r--r--arch/x86/include/asm/fpu/xstate.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/arch/x86/include/asm/fpu/xstate.h b/arch/x86/include/asm/fpu/xstate.h
index 109dfcc75299..b8cebc0ee420 100644
--- a/arch/x86/include/asm/fpu/xstate.h
+++ b/arch/x86/include/asm/fpu/xstate.h
@@ -78,12 +78,6 @@
XFEATURE_MASK_INDEPENDENT | \
XFEATURE_MASK_SUPERVISOR_UNSUPPORTED)
-#ifdef CONFIG_X86_64
-#define REX_PREFIX "0x48, "
-#else
-#define REX_PREFIX
-#endif
-
extern u64 xfeatures_mask_all;
static inline u64 xfeatures_mask_supervisor(void)