1 #ifndef __BUG_H_WRAPPER
2 #define __BUG_H_WRAPPER 1
4 #include_next <linux/bug.h>
6 #ifndef BUILD_BUG_ON_NOT_POWER_OF_2
7 /* Force a compilation error if a constant expression is not a power of 2 */
8 #define BUILD_BUG_ON_NOT_POWER_OF_2(n) \
9 BUILD_BUG_ON((n) == 0 || (((n) & ((n) - 1)) != 0))