2019-06-01 11:22:42 +08:00
|
|
|
// SPDX-License-Identifier: GPL-2.0
|
2018-05-10 19:55:58 +08:00
|
|
|
#include <linux/init.h>
|
|
|
|
#include <asm/bugs.h>
|
|
|
|
#include <asm/proc-fns.h>
|
|
|
|
|
2018-05-10 20:00:43 +08:00
|
|
|
void check_other_bugs(void)
|
|
|
|
{
|
2018-05-10 20:07:29 +08:00
|
|
|
#ifdef MULTI_CPU
|
2018-07-19 19:43:03 +08:00
|
|
|
if (cpu_check_bugs)
|
|
|
|
cpu_check_bugs();
|
2018-05-10 20:07:29 +08:00
|
|
|
#endif
|
2018-05-10 20:00:43 +08:00
|
|
|
}
|
|
|
|
|
2018-05-10 19:55:58 +08:00
|
|
|
void __init check_bugs(void)
|
|
|
|
{
|
|
|
|
check_writebuffer_bugs();
|
2018-05-10 20:00:43 +08:00
|
|
|
check_other_bugs();
|
2018-05-10 19:55:58 +08:00
|
|
|
}
|