lineage_android_kernel_xiao.../include/asm-generic/bitops
David Howells aacf29bf1b MPILIB: Provide count_leading/trailing_zeros() based on arch functions
Provide count_leading/trailing_zeros() macros based on extant arch bit scanning
functions rather than reimplementing from scratch in MPILIB.

Whilst we're at it, turn count_foo_zeros(n, x) into n = count_foo_zeros(x).

Also move the definition to asm-generic as other people may be interested in
using it.

Signed-off-by: David Howells <dhowells@redhat.com>
Cc: David S. Miller <davem@davemloft.net>
Cc: Dmitry Kasatkin <dmitry.kasatkin@intel.com>
Cc: Arnd Bergmann <arnd@arndb.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2012-10-08 13:50:11 +10:30
..
__ffs.h
__fls.h
arch_hweight.h
atomic.h Add #includes needed to permit the removal of asm/system.h 2012-03-28 18:30:03 +01:00
const_hweight.h
count_zeros.h MPILIB: Provide count_leading/trailing_zeros() based on arch functions 2012-10-08 13:50:11 +10:30
ext2-atomic-setbit.h asm-generic: add another generic ext2 atomic bitops 2011-07-26 16:49:46 -07:00
ext2-atomic.h asm-generic: add another generic ext2 atomic bitops 2011-07-26 16:49:46 -07:00
ffs.h
ffz.h
find.h bitops: add #ifndef for each of find bitops 2011-05-26 17:12:38 -07:00
fls.h
fls64.h
hweight.h
le.h bitops: add #ifndef for each of find bitops 2011-05-26 17:12:38 -07:00
lock.h
non-atomic.h
sched.h