Rev 3763 | Rev 5270 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 3763 | Rev 5056 | ||
---|---|---|---|
Line 55... | Line 55... | ||
55 | printk("BUG: failure at %s:%d/%s()!\n", __FILE__, __LINE__, __FUNCTION__); \ |
55 | printk("BUG: failure at %s:%d/%s()!\n", __FILE__, __LINE__, __FUNCTION__); \ |
56 | } while (0) |
56 | } while (0) |
Line 57... | Line 57... | ||
57 | 57 | ||
Line -... | Line 58... | ||
- | 58 | #define BUG_ON(condition) do { if (unlikely(condition)) BUG(); } while(0) |
|
58 | #define BUG_ON(condition) do { if (unlikely(condition)) BUG(); } while(0) |
59 | |
59 | 60 | /* Force a compilation error if a constant expression is not a power of 2 */ |
|
Line 60... | Line 61... | ||
60 | #define BUILD_BUG_ON_NOT_POWER_OF_2(n) \ |
61 | #define BUILD_BUG_ON_NOT_POWER_OF_2(n) \ |