diff options
| author | Yury Norov <[email protected]> | 2021-05-07 01:03:14 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2021-05-07 02:24:12 +0000 |
| commit | 2cc7b6a44ac21d31b398b03f4845c53152070416 (patch) | |
| tree | e7eb8d45b93df30058043ae15963dd82eacdef42 /tools/lib/find_bit.c | |
| parent | lib: add fast path for find_next_*_bit() (diff) | |
| download | kernel-2cc7b6a44ac21d31b398b03f4845c53152070416.tar.gz kernel-2cc7b6a44ac21d31b398b03f4845c53152070416.zip | |
lib: add fast path for find_first_*_bit() and find_last_bit()
Similarly to bitmap functions, users would benefit if we'll handle a case
of small-size bitmaps that fit into a single word.
While here, move the find_last_bit() declaration to bitops/find.h where
other find_*_bit() functions sit.
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Yury Norov <[email protected]>
Acked-by: Rasmus Villemoes <[email protected]>
Acked-by: Andy Shevchenko <[email protected]>
Cc: Alexey Klimov <[email protected]>
Cc: Arnd Bergmann <[email protected]>
Cc: David Sterba <[email protected]>
Cc: Dennis Zhou <[email protected]>
Cc: Geert Uytterhoeven <[email protected]>
Cc: Jianpeng Ma <[email protected]>
Cc: Joe Perches <[email protected]>
Cc: John Paul Adrian Glaubitz <[email protected]>
Cc: Josh Poimboeuf <[email protected]>
Cc: Rich Felker <[email protected]>
Cc: Stefano Brivio <[email protected]>
Cc: Wei Yang <[email protected]>
Cc: Wolfram Sang <[email protected]>
Cc: Yoshinori Sato <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/lib/find_bit.c')
0 files changed, 0 insertions, 0 deletions
