aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-generic
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-generic')
-rw-r--r--include/asm-generic/bug.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/asm-generic/bug.h b/include/asm-generic/bug.h
index 7ecd398aebf0..2d54d8df7bd1 100644
--- a/include/asm-generic/bug.h
+++ b/include/asm-generic/bug.h
@@ -52,7 +52,7 @@ struct bug_entry {
52#endif 52#endif
53 53
54#ifndef HAVE_ARCH_BUG_ON 54#ifndef HAVE_ARCH_BUG_ON
55#define BUG_ON(condition) do { if (unlikely(condition)) BUG(); } while(0) 55#define BUG_ON(condition) do { if (unlikely(condition)) BUG(); } while (0)
56#endif 56#endif
57 57
58/* 58/*
@@ -138,11 +138,11 @@ extern void warn_slowpath_null(const char *file, const int line);
138 138
139#else /* !CONFIG_BUG */ 139#else /* !CONFIG_BUG */
140#ifndef HAVE_ARCH_BUG 140#ifndef HAVE_ARCH_BUG
141#define BUG() do {} while(0) 141#define BUG() do {} while (0)
142#endif 142#endif
143 143
144#ifndef HAVE_ARCH_BUG_ON 144#ifndef HAVE_ARCH_BUG_ON
145#define BUG_ON(condition) do { if (condition) ; } while(0) 145#define BUG_ON(condition) do { if (condition) ; } while (0)
146#endif 146#endif
147 147
148#ifndef HAVE_ARCH_WARN_ON 148#ifndef HAVE_ARCH_WARN_ON