define first set of BIT* macros
define first set of BIT* macros - move BITOP_MASK and BITOP_WORD from asm-generic/bitops/atomic.h to include/linux/bitops.h and rename it to BIT_MASK and BIT_WORD - move BITS_TO_LONGS and BITS_PER_BYTE to bitops.h too and allow easily define another BITS_TO_something (e.g. in event.c) by BITS_TO_TYPE macro Remaining (and common) BIT macro will be defined after all occurences and conflicts will be sorted out in the patches. Signed-off-by:Jiri Slaby <jirislaby@gmail.com> Signed-off-by:
Andrew Morton <akpm@linux-foundation.org> Signed-off-by:
Linus Torvalds <torvalds@linux-foundation.org>
Showing
- include/asm-generic/bitops/atomic.h 12 additions, 15 deletionsinclude/asm-generic/bitops/atomic.h
- include/asm-generic/bitops/non-atomic.h 13 additions, 16 deletionsinclude/asm-generic/bitops/non-atomic.h
- include/linux/bitops.h 8 additions, 0 deletionsinclude/linux/bitops.h
- include/linux/types.h 0 additions, 3 deletionsinclude/linux/types.h
Please register or sign in to comment