mirror of
https://github.com/torvalds/linux.git
synced 2024-11-22 04:38:03 +00:00
7c7077a726
check_bugs() is a dumping ground for finalizing the CPU bringup. Only parts of it has to do with actual CPU bugs. Split it apart into arch_cpu_finalize_init() and cpu_select_mitigations(). Fixup the bogus 32bit comments while at it. No functional change. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Reviewed-by: Borislav Petkov (AMD) <bp@alien8.de> Link: https://lore.kernel.org/r/20230613224545.019583869@linutronix.de
16 lines
344 B
C
16 lines
344 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
#ifndef _ASM_X86_BUGS_H
|
|
#define _ASM_X86_BUGS_H
|
|
|
|
#include <asm/processor.h>
|
|
|
|
#if defined(CONFIG_CPU_SUP_INTEL) && defined(CONFIG_X86_32)
|
|
int ppro_with_ram_bug(void);
|
|
#else
|
|
static inline int ppro_with_ram_bug(void) { return 0; }
|
|
#endif
|
|
|
|
extern void cpu_bugs_smt_update(void);
|
|
|
|
#endif /* _ASM_X86_BUGS_H */
|