diff options
author | Stephen Rothwell <sfr@canb.auug.org.au> | 2008-08-25 21:16:14 +1000 |
---|---|---|
committer | Stephen Rothwell <sfr@canb.auug.org.au> | 2008-08-25 21:16:14 +1000 |
commit | 11a0f15e4a44ed40d9659fc2b98bbf551585636b (patch) | |
tree | 3c45dffe92b0169cebf86b33568b3f85a76bf427 | |
parent | ee4148e20abe71d06df14155e24afebbdf648573 (diff) |
revert BUILD_BUG_ON change
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
-rw-r--r-- | include/linux/compiler.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/include/linux/compiler.h b/include/linux/compiler.h index d7d313b3a56a..a1c082dde995 100644 --- a/include/linux/compiler.h +++ b/include/linux/compiler.h @@ -206,15 +206,9 @@ extern void __chk_io_ptr(const volatile void __iomem *); * ( The linker trick relies on gcc optimizing out a multiplication with * constant zero - which should be reasonable enough. ) */ -#ifndef __ASSEMBLY__ -extern unsigned int __BUILD_BUG_ON_non_constant; -#endif - #define BUILD_BUG_ON(condition) \ do { \ (void)sizeof(char[1 - 2*!!(condition)]); \ - if (!__builtin_constant_p(condition)) \ - __BUILD_BUG_ON_non_constant++; \ } while (0) /* |