blob: 92ae283899409df20a0865b1734d1864feccb5a6 [file] [log] [blame]
Andrew Scullb4b6d4a2019-01-02 15:54:55 +00001/* 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
7extern void check_bugs(void);
8
Andrew Scullb4b6d4a2019-01-02 15:54:55 +00009#if defined(CONFIG_CPU_SUP_INTEL) && defined(CONFIG_X86_32)
10int ppro_with_ram_bug(void);
11#else
12static inline int ppro_with_ram_bug(void) { return 0; }
13#endif
14
David Brazdil0f672f62019-12-10 10:32:29 +000015extern void cpu_bugs_smt_update(void);
16
Andrew Scullb4b6d4a2019-01-02 15:54:55 +000017#endif /* _ASM_X86_BUGS_H */