blob: 5490bbaf71d5f67dfda35b345bf50b81e3008d7f [file] [log] [blame]
H. Peter Anvin1965aae2008-10-22 22:26:29 -07001#ifndef _ASM_X86_BUGS_H
2#define _ASM_X86_BUGS_H
Thomas Gleixner003a46c2007-10-15 13:57:47 +02003
Dave Hansen0f6ff2b2016-05-12 15:04:00 -07004#include <asm/processor.h>
5
Ingo Molnar8550eb92008-01-30 13:34:10 +01006extern void check_bugs(void);
Thomas Petazzoni8d02c212008-08-05 11:45:19 +02007
Dave Hansen0f6ff2b2016-05-12 15:04:00 -07008#if defined(CONFIG_CPU_SUP_INTEL)
9void check_mpx_erratum(struct cpuinfo_x86 *c);
10#else
11static inline void check_mpx_erratum(struct cpuinfo_x86 *c) {}
12#endif
13
Yinghai Lu879d7922008-09-09 16:40:37 -070014#if defined(CONFIG_CPU_SUP_INTEL) && defined(CONFIG_X86_32)
Harvey Harrison73bdb732008-02-04 16:48:04 +010015int ppro_with_ram_bug(void);
Thomas Petazzoni8d02c212008-08-05 11:45:19 +020016#else
17static inline int ppro_with_ram_bug(void) { return 0; }
18#endif
Thomas Gleixner003a46c2007-10-15 13:57:47 +020019
H. Peter Anvin1965aae2008-10-22 22:26:29 -070020#endif /* _ASM_X86_BUGS_H */