summaryrefslogtreecommitdiff
path: root/arch/metag/include/asm/bug.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/metag/include/asm/bug.h')
-rw-r--r--arch/metag/include/asm/bug.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/metag/include/asm/bug.h b/arch/metag/include/asm/bug.h
index d04b48cefecc..9f8967f10f8c 100644
--- a/arch/metag/include/asm/bug.h
+++ b/arch/metag/include/asm/bug.h
@@ -6,7 +6,7 @@
struct pt_regs;
extern const char *trap_name(int trapno);
-extern void die(const char *str, struct pt_regs *regs, long err,
- unsigned long addr) __attribute__ ((noreturn));
+extern void __noreturn die(const char *str, struct pt_regs *regs, long err,
+ unsigned long addr);
#endif