|
@@ -59,9 +59,10 @@ struct pt_regs;
|
|
extern int __build_bug_on_failed;
|
|
extern int __build_bug_on_failed;
|
|
#define BUILD_BUG_ON(condition) \
|
|
#define BUILD_BUG_ON(condition) \
|
|
do { \
|
|
do { \
|
|
- ((void)sizeof(char[1 - 2*!!(condition)])); \
|
|
|
|
- if (condition) __build_bug_on_failed = 1; \
|
|
|
|
- } while(0)
|
|
|
|
|
|
+ bool __cond = !!(condition); \
|
|
|
|
+ ((void)sizeof(char[1 - 2 * __cond])); \
|
|
|
|
+ if (__cond) __build_bug_on_failed = 1; \
|
|
|
|
+ } while (0)
|
|
#endif
|
|
#endif
|
|
|
|
|
|
/**
|
|
/**
|