mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-28 04:45:12 +07:00
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();
|
|
}
|