summaryrefslogtreecommitdiff
path: root/arch/x86/include/asm/bugs.h
diff options
context:
space:
mode:
authorDave Hansen <dave.hansen@linux.intel.com>2020-01-23 21:41:20 +0300
committerDave Hansen <dave.hansen@intel.com>2020-01-23 21:41:20 +0300
commit45fc24e89b7cc2e227b2f03d99dda0a2204bf383 (patch)
tree913d1b90a3a490d3290e93d38e28ed8ddae2896a /arch/x86/include/asm/bugs.h
parent42222eae17f7c930833dfda7896ef280879de94a (diff)
downloadlinux-45fc24e89b7cc2e227b2f03d99dda0a2204bf383.tar.xz
x86/mpx: remove MPX from arch/x86
From: Dave Hansen <dave.hansen@linux.intel.com> MPX is being removed from the kernel due to a lack of support in the toolchain going forward (gcc). This removes all the remaining (dead at this point) MPX handling code remaining in the tree. The only remaining code is the XSAVE support for MPX state which is currently needd for KVM to handle VMs which might use MPX. Cc: Peter Zijlstra (Intel) <peterz@infradead.org> Cc: Andy Lutomirski <luto@kernel.org> Cc: x86@kernel.org Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Dave Hansen <dave.hansen@linux.intel.com>
Diffstat (limited to 'arch/x86/include/asm/bugs.h')
-rw-r--r--arch/x86/include/asm/bugs.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/arch/x86/include/asm/bugs.h b/arch/x86/include/asm/bugs.h
index 794eb2129bc6..92ae28389940 100644
--- a/arch/x86/include/asm/bugs.h
+++ b/arch/x86/include/asm/bugs.h
@@ -6,12 +6,6 @@
extern void check_bugs(void);
-#if defined(CONFIG_CPU_SUP_INTEL)
-void check_mpx_erratum(struct cpuinfo_x86 *c);
-#else
-static inline void check_mpx_erratum(struct cpuinfo_x86 *c) {}
-#endif
-
#if defined(CONFIG_CPU_SUP_INTEL) && defined(CONFIG_X86_32)
int ppro_with_ram_bug(void);
#else