aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-generic/bug.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-generic/bug.h')
-rw-r--r--include/asm-generic/bug.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-generic/bug.h b/include/asm-generic/bug.h
index f90588abbfd4..6f96247226a4 100644
--- a/include/asm-generic/bug.h
+++ b/include/asm-generic/bug.h
@@ -151,7 +151,7 @@ void __warn(const char *file, int line, void *caller, unsigned taint,
151#endif 151#endif
152 152
153#ifndef HAVE_ARCH_BUG_ON 153#ifndef HAVE_ARCH_BUG_ON
154#define BUG_ON(condition) do { if (condition) ; } while (0) 154#define BUG_ON(condition) do { if (condition) BUG(); } while (0)
155#endif 155#endif
156 156
157#ifndef HAVE_ARCH_WARN_ON 157#ifndef HAVE_ARCH_WARN_ON