]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/blame - arch/x86/include/asm/bugs.h
UBUNTU: Ubuntu-5.0.0-29.31
[mirror_ubuntu-disco-kernel.git] / arch / x86 / include / asm / bugs.h
CommitLineData
b2441318 1/* SPDX-License-Identifier: GPL-2.0 */
1965aae3
PA
2#ifndef _ASM_X86_BUGS_H
3#define _ASM_X86_BUGS_H
003a46cf 4
0f6ff2bc
DH
5#include <asm/processor.h>
6
8550eb99 7extern void check_bugs(void);
8d02c211 8
0f6ff2bc
DH
9#if defined(CONFIG_CPU_SUP_INTEL)
10void check_mpx_erratum(struct cpuinfo_x86 *c);
11#else
12static inline void check_mpx_erratum(struct cpuinfo_x86 *c) {}
13#endif
14
879d792b 15#if defined(CONFIG_CPU_SUP_INTEL) && defined(CONFIG_X86_32)
73bdb73f 16int ppro_with_ram_bug(void);
8d02c211
TP
17#else
18static inline int ppro_with_ram_bug(void) { return 0; }
19#endif
003a46cf 20
1965aae3 21#endif /* _ASM_X86_BUGS_H */