xref: /openbmc/linux/arch/x86/include/asm/bugs.h (revision 7c7077a7)
1b2441318SGreg Kroah-Hartman /* SPDX-License-Identifier: GPL-2.0 */
21965aae3SH. Peter Anvin #ifndef _ASM_X86_BUGS_H
31965aae3SH. Peter Anvin #define _ASM_X86_BUGS_H
4bb898558SAl Viro 
50f6ff2bcSDave Hansen #include <asm/processor.h>
60f6ff2bcSDave Hansen 
7bb898558SAl Viro #if defined(CONFIG_CPU_SUP_INTEL) && defined(CONFIG_X86_32)
8bb898558SAl Viro int ppro_with_ram_bug(void);
9bb898558SAl Viro #else
ppro_with_ram_bug(void)10bb898558SAl Viro static inline int ppro_with_ram_bug(void) { return 0; }
11bb898558SAl Viro #endif
12bb898558SAl Viro 
139c92374bSThomas Gleixner extern void cpu_bugs_smt_update(void);
149c92374bSThomas Gleixner 
151965aae3SH. Peter Anvin #endif /* _ASM_X86_BUGS_H */
16