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.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sparc/include/asm/bug.h b/arch/sparc/include/asm/bug.h
index 6bd9f43cb5a5..a24cbb16d0eb 100644
--- a/arch/sparc/include/asm/bug.h
+++ b/arch/sparc/include/asm/bug.h
@@ -20,6 +20,6 @@ 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));
+void __noreturn die_if_kernel(char *str, struct pt_regs *regs);
#endif