mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs.git
synced 2026-11-09 19:10:45 +01:00
From: Dave Hansen <[email protected]> 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) <[email protected]> Cc: Andy Lutomirski <[email protected]> Cc: [email protected] Cc: Linus Torvalds <[email protected]> Cc: Andrew Morton <[email protected]> Signed-off-by: Dave Hansen <[email protected]>
18 lines
375 B
C
18 lines
375 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
#ifndef _ASM_X86_BUGS_H
|
|
#define _ASM_X86_BUGS_H
|
|
|
|
#include <asm/processor.h>
|
|
|
|
extern void check_bugs(void);
|
|
|
|
#if defined(CONFIG_CPU_SUP_INTEL) && defined(CONFIG_X86_32)
|
|
int ppro_with_ram_bug(void);
|
|
#else
|
|
static inline int ppro_with_ram_bug(void) { return 0; }
|
|
#endif
|
|
|
|
extern void cpu_bugs_smt_update(void);
|
|
|
|
#endif /* _ASM_X86_BUGS_H */
|