H. Peter Anvin | 1965aae | 2008-10-22 22:26:29 -0700 | [diff] [blame] | 1 | #ifndef _ASM_X86_BUGS_H |
| 2 | #define _ASM_X86_BUGS_H |
Thomas Gleixner | 003a46c | 2007-10-15 13:57:47 +0200 | [diff] [blame] | 3 | |
Dave Hansen | 0f6ff2b | 2016-05-12 15:04:00 -0700 | [diff] [blame^] | 4 | #include <asm/processor.h> |
| 5 | |
Ingo Molnar | 8550eb9 | 2008-01-30 13:34:10 +0100 | [diff] [blame] | 6 | extern void check_bugs(void); |
Thomas Petazzoni | 8d02c21 | 2008-08-05 11:45:19 +0200 | [diff] [blame] | 7 | |
Dave Hansen | 0f6ff2b | 2016-05-12 15:04:00 -0700 | [diff] [blame^] | 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 | |
Yinghai Lu | 879d792 | 2008-09-09 16:40:37 -0700 | [diff] [blame] | 14 | #if defined(CONFIG_CPU_SUP_INTEL) && defined(CONFIG_X86_32) |
Harvey Harrison | 73bdb73 | 2008-02-04 16:48:04 +0100 | [diff] [blame] | 15 | int ppro_with_ram_bug(void); |
Thomas Petazzoni | 8d02c21 | 2008-08-05 11:45:19 +0200 | [diff] [blame] | 16 | #else |
| 17 | static inline int ppro_with_ram_bug(void) { return 0; } |
| 18 | #endif |
Thomas Gleixner | 003a46c | 2007-10-15 13:57:47 +0200 | [diff] [blame] | 19 | |
H. Peter Anvin | 1965aae | 2008-10-22 22:26:29 -0700 | [diff] [blame] | 20 | #endif /* _ASM_X86_BUGS_H */ |