commit | b4b6d4a02fa8aa8187d426b508fb7f3b69df0dcc | [log] [tgz] |
---|---|---|
author | Andrew Scull <ascull@google.com> | Wed Jan 02 15:54:55 2019 +0000 |
committer | Andrew Scull <ascull@google.com> | Wed Jan 02 15:54:55 2019 +0000 |
tree | fdf4498bc30cb80757eaf20b46ea866b23141a93 |
v4.19.13 snapshot.
diff --git a/arch/arm/kernel/bugs.c b/arch/arm/kernel/bugs.c new file mode 100644 index 0000000..7be5113 --- /dev/null +++ b/arch/arm/kernel/bugs.c
@@ -0,0 +1,18 @@ +// 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 (processor.check_bugs) + processor.check_bugs(); +#endif +} + +void __init check_bugs(void) +{ + check_writebuffer_bugs(); + check_other_bugs(); +}