diff options
Diffstat (limited to 'include/linux/compiler.h')
-rw-r--r-- | include/linux/compiler.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/compiler.h b/include/linux/compiler.h index 42506e4d1f53..c8eab637a2a7 100644 --- a/include/linux/compiler.h +++ b/include/linux/compiler.h | |||
@@ -313,7 +313,7 @@ unsigned long read_word_at_a_time(const void *addr) | |||
313 | #ifdef __OPTIMIZE__ | 313 | #ifdef __OPTIMIZE__ |
314 | # define __compiletime_assert(condition, msg, prefix, suffix) \ | 314 | # define __compiletime_assert(condition, msg, prefix, suffix) \ |
315 | do { \ | 315 | do { \ |
316 | bool __cond = !(condition); \ | 316 | int __cond = !(condition); \ |
317 | extern void prefix ## suffix(void) __compiletime_error(msg); \ | 317 | extern void prefix ## suffix(void) __compiletime_error(msg); \ |
318 | if (__cond) \ | 318 | if (__cond) \ |
319 | prefix ## suffix(); \ | 319 | prefix ## suffix(); \ |