2019-06-01 12:22:42 +09:00
|
|
|
// SPDX-License-Identifier: GPL-2.0
|
2018-05-10 12:55:58 +01:00
|
|
|
#include <linux/init.h>
|
2023-06-14 01:39:25 +02:00
|
|
|
#include <linux/cpu.h>
|
2018-05-10 12:55:58 +01:00
|
|
|
#include <asm/bugs.h>
|
|
|
|
#include <asm/proc-fns.h>
|
|
|
|
|
2018-05-10 13:00:43 +01:00
|
|
|
void check_other_bugs(void)
|
|
|
|
{
|
2018-05-10 13:07:29 +01:00
|
|
|
#ifdef MULTI_CPU
|
2018-07-19 12:43:03 +01:00
|
|
|
if (cpu_check_bugs)
|
|
|
|
cpu_check_bugs();
|
2018-05-10 13:07:29 +01:00
|
|
|
#endif
|
2018-05-10 13:00:43 +01:00
|
|
|
}
|
|
|
|
|
2023-06-14 01:39:25 +02:00
|
|
|
void __init arch_cpu_finalize_init(void)
|
2018-05-10 12:55:58 +01:00
|
|
|
{
|
|
|
|
check_writebuffer_bugs();
|
2018-05-10 13:00:43 +01:00
|
|
|
check_other_bugs();
|
2018-05-10 12:55:58 +01:00
|
|
|
}
|