forked from luck/tmp_suning_uos_patched
945aceb1db
Call the per-processor type check_bugs() method in the same way as we do other per-processor functions - move the "processor." detail into proc-fns.h. Reviewed-by: Julien Thierry <julien.thierry@arm.com> Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
19 lines
280 B
C
19 lines
280 B
C
// SPDX-Identifier: GPL-2.0
|
|
#include <linux/init.h>
|
|
#include <asm/bugs.h>
|
|
#include <asm/proc-fns.h>
|
|
|
|
void check_other_bugs(void)
|
|
{
|
|
#ifdef MULTI_CPU
|
|
if (cpu_check_bugs)
|
|
cpu_check_bugs();
|
|
#endif
|
|
}
|
|
|
|
void __init check_bugs(void)
|
|
{
|
|
check_writebuffer_bugs();
|
|
check_other_bugs();
|
|
}
|