2018-11-08 01:43:40 +09:00
|
|
|
// SPDX-Identifier: GPL-2.0
|
|
|
|
#include <linux/init.h>
|
|
|
|
#include <asm/bugs.h>
|
|
|
|
#include <asm/proc-fns.h>
|
|
|
|
|
2018-11-08 01:43:41 +09:00
|
|
|
void check_other_bugs(void)
|
|
|
|
{
|
2018-11-08 01:43:42 +09:00
|
|
|
#ifdef MULTI_CPU
|
2019-02-14 23:49:26 +09:00
|
|
|
if (cpu_check_bugs)
|
|
|
|
cpu_check_bugs();
|
2018-11-08 01:43:42 +09:00
|
|
|
#endif
|
2018-11-08 01:43:41 +09:00
|
|
|
}
|
|
|
|
|
2018-11-08 01:43:40 +09:00
|
|
|
void __init check_bugs(void)
|
|
|
|
{
|
|
|
|
check_writebuffer_bugs();
|
2018-11-08 01:43:41 +09:00
|
|
|
check_other_bugs();
|
2018-11-08 01:43:40 +09:00
|
|
|
}
|