summaryrefslogtreecommitdiffstats
path: root/include/asm-arm/bug.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-arm/bug.h')
-rw-r--r--include/asm-arm/bug.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-arm/bug.h b/include/asm-arm/bug.h
index 24d11672eb60..7fb02138f585 100644
--- a/include/asm-arm/bug.h
+++ b/include/asm-arm/bug.h
@@ -5,7 +5,7 @@
#ifdef CONFIG_BUG
#ifdef CONFIG_DEBUG_BUGVERBOSE
-extern volatile void __bug(const char *file, int line, void *data);
+extern void __bug(const char *file, int line, void *data) __attribute__((noreturn));
/* give file/line information */
#define BUG() __bug(__FILE__, __LINE__, NULL)