Commit 945aceb1db8885d3a35790cf2e810f681db52756 upstream. 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> Signed-off-by: David A. Long <dave.long@linaro.org> Reviewed-by: Julien Thierry <julien.thierry@arm.com> Signed-off-by: Sasha Levin <sashal@kernel.org> Signed-off-by: Ard Biesheuvel <ardb@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
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();
|
|
}
|