Merge tag 'pm-4.13-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm
[linux/fpc-iii.git] / arch / x86 / include / asm / bugs.h
blob5490bbaf71d5f67dfda35b345bf50b81e3008d7f
1 #ifndef _ASM_X86_BUGS_H
2 #define _ASM_X86_BUGS_H
4 #include <asm/processor.h>
6 extern void check_bugs(void);
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
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
20 #endif /* _ASM_X86_BUGS_H */