xref: /openbmc/linux/arch/x86/include/asm/bugs.h (revision 293d5b43)
1 #ifndef _ASM_X86_BUGS_H
2 #define _ASM_X86_BUGS_H
3 
4 #include <asm/processor.h>
5 
6 extern void check_bugs(void);
7 
8 #if defined(CONFIG_CPU_SUP_INTEL)
9 void check_mpx_erratum(struct cpuinfo_x86 *c);
10 #else
11 static inline void check_mpx_erratum(struct cpuinfo_x86 *c) {}
12 #endif
13 
14 #if defined(CONFIG_CPU_SUP_INTEL) && defined(CONFIG_X86_32)
15 int ppro_with_ram_bug(void);
16 #else
17 static inline int ppro_with_ram_bug(void) { return 0; }
18 #endif
19 
20 #endif /* _ASM_X86_BUGS_H */
21