aboutsummaryrefslogtreecommitdiffstats
path: root/lib/test_bitmap.c
diff options
context:
space:
mode:
authorYury Norov <[email protected]>2021-08-14 21:17:11 +0000
committerYury Norov <[email protected]>2022-01-15 16:47:31 +0000
commitec288a2cf7ca40a939316b6df206ab845bb112d1 (patch)
tree8f9805242155d8f5decc0e4a06ea3397c13db835 /lib/test_bitmap.c
parentmm/percpu: micro-optimize pcpu_is_populated() (diff)
downloadkernel-ec288a2cf7ca40a939316b6df206ab845bb112d1.tar.gz
kernel-ec288a2cf7ca40a939316b6df206ab845bb112d1.zip
bitmap: unify find_bit operations
bitmap_for_each_{set,clear}_region() are similar to for_each_bit() macros in include/linux/find.h, but interface and implementation of them are different. This patch adds for_each_bitrange() macros and drops unused bitmap_*_region() API in sake of unification. Signed-off-by: Yury Norov <[email protected]> Tested-by: Wolfram Sang <[email protected]> Acked-by: Dennis Zhou <[email protected]> Acked-by: Ulf Hansson <[email protected]> # For MMC
Diffstat (limited to 'lib/test_bitmap.c')
0 files changed, 0 insertions, 0 deletions