2018-05-10 13:55:58 +02:00
|
|
|
// SPDX-Identifier: GPL-2.0
|
|
|
|
#include <linux/init.h>
|
|
|
|
#include <asm/bugs.h>
|
|
|
|
#include <asm/proc-fns.h>
|
|
|
|
|
2018-05-10 14:00:43 +02:00
|
|
|
void check_other_bugs(void)
|
|
|
|
{
|
2018-05-10 14:07:29 +02:00
|
|
|
#ifdef MULTI_CPU
|
|
|
|
if (processor.check_bugs)
|
|
|
|
processor.check_bugs();
|
|
|
|
#endif
|
2018-05-10 14:00:43 +02:00
|
|
|
}
|
|
|
|
|
2018-05-10 13:55:58 +02:00
|
|
|
void __init check_bugs(void)
|
|
|
|
{
|
|
|
|
check_writebuffer_bugs();
|
2018-05-10 14:00:43 +02:00
|
|
|
check_other_bugs();
|
2018-05-10 13:55:58 +02:00
|
|
|
}
|