aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/kernel/bugs.c
diff options
context:
space:
mode:
authorRussell King <[email protected]>2018-05-10 12:55:58 +0100
committerRussell King <[email protected]>2018-05-31 10:39:18 +0100
commita5b9177f69329314721aa7022b7e69dab23fa1f0 (patch)
tree1fe1da32847541cd69f18da4d827abc36cb6c5af /arch/arm/kernel/bugs.c
parentf5683e76f35b4ec5891031b6a29036efe0a1ff84 (diff)
ARM: bugs: prepare processor bug infrastructure
Prepare the processor bug infrastructure so that it can be expanded to check for per-processor bugs. Signed-off-by: Russell King <[email protected]> Reviewed-by: Florian Fainelli <[email protected]> Boot-tested-by: Tony Lindgren <[email protected]> Reviewed-by: Tony Lindgren <[email protected]> Acked-by: Marc Zyngier <[email protected]>
Diffstat (limited to 'arch/arm/kernel/bugs.c')
-rw-r--r--arch/arm/kernel/bugs.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/arm/kernel/bugs.c b/arch/arm/kernel/bugs.c
new file mode 100644
index 000000000000..88024028bb70
--- /dev/null
+++ b/arch/arm/kernel/bugs.c
@@ -0,0 +1,9 @@
+// SPDX-Identifier: GPL-2.0
+#include <linux/init.h>
+#include <asm/bugs.h>
+#include <asm/proc-fns.h>
+
+void __init check_bugs(void)
+{
+ check_writebuffer_bugs();
+}