73719e89e3
commit ee31bb0524a2e7c99b03f50249a411cc1eaa411f upstream check_bugs() is about to be phased out. Switch over to the new arch_cpu_finalize_init() implementation. No functional change. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Link: https://lore.kernel.org/r/20230613224545.078124882@linutronix.de Signed-off-by: Daniel Sneddon <daniel.sneddon@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
20 lines
323 B
C
20 lines
323 B
C
// SPDX-License-Identifier: GPL-2.0
|
|
#include <linux/init.h>
|
|
#include <linux/cpu.h>
|
|
#include <asm/bugs.h>
|
|
#include <asm/proc-fns.h>
|
|
|
|
void check_other_bugs(void)
|
|
{
|
|
#ifdef MULTI_CPU
|
|
if (cpu_check_bugs)
|
|
cpu_check_bugs();
|
|
#endif
|
|
}
|
|
|
|
void __init arch_cpu_finalize_init(void)
|
|
{
|
|
check_writebuffer_bugs();
|
|
check_other_bugs();
|
|
}
|