2018-05-10 19:55:58 +08:00
|
|
|
// SPDX-Identifier: GPL-2.0
|
|
|
|
#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
|
|
|
|
if (processor.check_bugs)
|
|
|
|
processor.check_bugs();
|
|
|
|
#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
|
|
|
}
|