aboutsummaryrefslogtreecommitdiffstats
path: root/tools/lib/find_bit.c
diff options
context:
space:
mode:
authorYury Norov <[email protected]>2021-08-14 21:17:03 +0000
committerYury Norov <[email protected]>2022-01-15 16:47:31 +0000
commitb5c7e7ec7d3418af2544452b45cc67297c857a86 (patch)
tree1b2d0bd3d0852b65d73b65982d4b8f69c27703e7 /tools/lib/find_bit.c
parentcpumask: use find_first_and_bit() (diff)
downloadkernel-b5c7e7ec7d3418af2544452b45cc67297c857a86.tar.gz
kernel-b5c7e7ec7d3418af2544452b45cc67297c857a86.zip
all: replace find_next{,_zero}_bit with find_first{,_zero}_bit where appropriate
find_first{,_zero}_bit is a more effective analogue of 'next' version if start == 0. This patch replaces 'next' with 'first' where things look trivial. Signed-off-by: Yury Norov <[email protected]> Tested-by: Wolfram Sang <[email protected]>
Diffstat (limited to 'tools/lib/find_bit.c')
0 files changed, 0 insertions, 0 deletions