Andrew Scull | b4b6d4a | 2019-01-02 15:54:55 +0000 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
| 2 | #ifndef _ASM_X86_BUGS_H |
| 3 | #define _ASM_X86_BUGS_H |
| 4 | |
| 5 | #include <asm/processor.h> |
| 6 | |
| 7 | extern void check_bugs(void); |
| 8 | |
Andrew Scull | b4b6d4a | 2019-01-02 15:54:55 +0000 | [diff] [blame] | 9 | #if defined(CONFIG_CPU_SUP_INTEL) && defined(CONFIG_X86_32) |
| 10 | int ppro_with_ram_bug(void); |
| 11 | #else |
| 12 | static inline int ppro_with_ram_bug(void) { return 0; } |
| 13 | #endif |
| 14 | |
David Brazdil | 0f672f6 | 2019-12-10 10:32:29 +0000 | [diff] [blame] | 15 | extern void cpu_bugs_smt_update(void); |
| 16 | |
Andrew Scull | b4b6d4a | 2019-01-02 15:54:55 +0000 | [diff] [blame] | 17 | #endif /* _ASM_X86_BUGS_H */ |