linux/include/asm-generic/bitops
Yury Norov b7ec62d7ee bitops: protect find_first_{,zero}_bit properly
find_first_bit() and find_first_zero_bit() are not protected with
ifdefs as other functions in find.h. It causes build errors on some
platforms if CONFIG_GENERIC_FIND_FIRST_BIT is enabled.

Signed-off-by: Yury Norov <yury.norov@gmail.com>
Fixes: 2cc7b6a44a ("lib: add fast path for find_first_*_bit() and find_last_bit()")
Reported-by: kernel test robot <lkp@intel.com>
Tested-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
2022-01-15 08:47:30 -08:00
..
__ffs.h
__fls.h
arch_hweight.h
atomic.h locking/atomic: add generic arch_*() bitops 2021-07-16 18:46:45 +02:00
builtin-__ffs.h
builtin-__fls.h
builtin-ffs.h asm-generic: ffs: Drop bogus reference to ffz location 2021-08-11 11:38:10 +02:00
builtin-fls.h fls: change parameter to unsigned int 2019-01-04 13:13:46 -08:00
const_hweight.h
ext2-atomic-setbit.h
ext2-atomic.h
ffs.h asm-generic: ffs: Drop bogus reference to ffz location 2021-08-11 11:38:10 +02:00
ffz.h
find.h bitops: protect find_first_{,zero}_bit properly 2022-01-15 08:47:30 -08:00
fls.h fls: change parameter to unsigned int 2019-01-04 13:13:46 -08:00
fls64.h
hweight.h
instrumented-atomic.h asm-generic/bitops: Use instrument_read_write() where appropriate 2020-08-24 15:09:59 -07:00
instrumented-lock.h asm-generic/bitops: Use instrument_read_write() where appropriate 2020-08-24 15:09:59 -07:00
instrumented-non-atomic.h locking/atomic: simplify non-atomic wrappers 2021-08-04 15:16:47 +02:00
le.h lib: add fast path for find_next_*_bit() 2021-05-06 19:24:12 -07:00
lock.h locking/atomic: add generic arch_*() bitops 2021-07-16 18:46:45 +02:00
non-atomic.h asm-generic changes for 5.15 2021-09-01 15:13:02 -07:00
sched.h