1 #ifndef COMPAT_BIT_OPS_H
2 #define COMPAT_BIT_OPS_H
4 #include_next <linux/bitops.h>
6 /* Include the autogenerated header file */
7 #include "../../compat/config.h"
10 #define BIT_ULL(nr) (1ULL << (nr))
14 #define BITS_PER_TYPE(type) (sizeof(type) * BITS_PER_BYTE)
17 #endif /* COMPAT_BIT_OPS_H */