1 /* SPDX-License-Identifier: GPL-2.0 */ 2 #ifndef _ASM_X86_BUGS_H 3 #define _ASM_X86_BUGS_H 4 5 #include <asm/processor.h> 6 7 #if defined(CONFIG_CPU_SUP_INTEL) 8 void check_mpx_erratum(struct cpuinfo_x86 *c); 9 #else check_mpx_erratum(struct cpuinfo_x86 * c)10static inline void check_mpx_erratum(struct cpuinfo_x86 *c) {} 11 #endif 12 13 #if defined(CONFIG_CPU_SUP_INTEL) && defined(CONFIG_X86_32) 14 int ppro_with_ram_bug(void); 15 #else ppro_with_ram_bug(void)16static inline int ppro_with_ram_bug(void) { return 0; } 17 #endif 18 19 extern void cpu_bugs_smt_update(void); 20 21 #endif /* _ASM_X86_BUGS_H */ 22