android_kernel_xiaomi_sm8350/include/asm-generic/bitops
Jiri Slaby d05be13bcc 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>
2007-10-19 11:53:42 -07:00
..
__ffs.h
atomic.h define first set of BIT* macros 2007-10-19 11:53:42 -07:00
ext2-atomic.h
ext2-non-atomic.h
ffs.h
ffz.h
find.h
fls64.h
fls.h
hweight.h
le.h
lock.h bitops: introduce lock ops 2007-10-18 14:37:29 -07:00
minix-le.h
minix.h
non-atomic.h define first set of BIT* macros 2007-10-19 11:53:42 -07:00
sched.h sched: simplify sched_find_first_bit() 2007-07-09 18:52:00 +02:00