aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/arch/openrisc/include/asm/bug.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/openrisc/include/asm/bug.h')
-rw-r--r--arch/openrisc/include/asm/bug.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/arch/openrisc/include/asm/bug.h b/arch/openrisc/include/asm/bug.h
new file mode 100644
index 000000000000..6d04776eaf10
--- /dev/null
+++ b/arch/openrisc/include/asm/bug.h
@@ -0,0 +1,11 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+#ifndef __ASM_OPENRISC_BUG_H
+#define __ASM_OPENRISC_BUG_H
+
+#include <asm-generic/bug.h>
+
+struct pt_regs;
+
+void __noreturn die(const char *str, struct pt_regs *regs, long err);
+
+#endif /* __ASM_OPENRISC_BUG_H */