summaryrefslogtreecommitdiff
path: root/arch/sparc/include/asm/bug.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/sparc/include/asm/bug.h')
-rw-r--r--arch/sparc/include/asm/bug.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/sparc/include/asm/bug.h b/arch/sparc/include/asm/bug.h
index 8a59e5a8c217..6bd9f43cb5a5 100644
--- a/arch/sparc/include/asm/bug.h
+++ b/arch/sparc/include/asm/bug.h
@@ -19,4 +19,7 @@ extern void do_BUG(const char *file, int line);
#include <asm-generic/bug.h>
+struct pt_regs;
+extern void die_if_kernel(char *str, struct pt_regs *regs) __attribute__ ((noreturn));
+
#endif