summaryrefslogtreecommitdiffstats
path: root/arch/loongarch/include/asm/bugs.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/loongarch/include/asm/bugs.h')
-rw-r--r--arch/loongarch/include/asm/bugs.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/arch/loongarch/include/asm/bugs.h b/arch/loongarch/include/asm/bugs.h
new file mode 100644
index 000000000000..98396535163b
--- /dev/null
+++ b/arch/loongarch/include/asm/bugs.h
@@ -0,0 +1,15 @@
+/* SPDX-License-Identifier: GPL-2.0 */
+/*
+ * This is included by init/main.c to check for architecture-dependent bugs.
+ *
+ * Copyright (C) 2020-2022 Loongson Technology Corporation Limited
+ */
+#ifndef _ASM_BUGS_H
+#define _ASM_BUGS_H
+
+#include <asm/cpu.h>
+#include <asm/cpu-info.h>
+
+extern void check_bugs(void);
+
+#endif /* _ASM_BUGS_H */