summaryrefslogtreecommitdiffstats
path: root/arch/m68k/include/asm/bugs.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/m68k/include/asm/bugs.h')
-rw-r--r--arch/m68k/include/asm/bugs.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/arch/m68k/include/asm/bugs.h b/arch/m68k/include/asm/bugs.h
new file mode 100644
index 000000000..745530651
--- /dev/null
+++ b/arch/m68k/include/asm/bugs.h
@@ -0,0 +1,21 @@
+/* SPDX-License-Identifier: GPL-2.0 */
+/*
+ * include/asm-m68k/bugs.h
+ *
+ * Copyright (C) 1994 Linus Torvalds
+ */
+
+/*
+ * This is included by init/main.c to check for architecture-dependent bugs.
+ *
+ * Needs:
+ * void check_bugs(void);
+ */
+
+#ifdef CONFIG_MMU
+extern void check_bugs(void); /* in arch/m68k/kernel/setup.c */
+#else
+static void check_bugs(void)
+{
+}
+#endif