OpenCloudOS-Kernel/tools/include/asm-generic/bitops
Yury Norov eaae7841ba tools: sync lib/find_bit implementation
Add fast paths to find_*_bit() functions as per kernel implementation.

Link: https://lkml.kernel.org/r/20210401003153.97325-12-yury.norov@gmail.com
Signed-off-by: Yury Norov <yury.norov@gmail.com>
Acked-by: Rasmus Villemoes <linux@rasmusvillemoes.dk>
Cc: Alexey Klimov <aklimov@redhat.com>
Cc: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: David Sterba <dsterba@suse.com>
Cc: Dennis Zhou <dennis@kernel.org>
Cc: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: Jianpeng Ma <jianpeng.ma@intel.com>
Cc: Joe Perches <joe@perches.com>
Cc: John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
Cc: Josh Poimboeuf <jpoimboe@redhat.com>
Cc: Rich Felker <dalias@libc.org>
Cc: Stefano Brivio <sbrivio@redhat.com>
Cc: Wei Yang <richard.weiyang@linux.alibaba.com>
Cc: Wolfram Sang <wsa+renesas@sang-engineering.com>
Cc: Yoshinori Sato <ysato@users.osdn.me>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2021-05-06 19:24:12 -07:00
..
__ffs.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
__ffz.h tools lib: Add for_each_clear_bit macro 2016-10-24 11:07:33 -03:00
__fls.h tools/headers: Synchronize kernel ABI headers 2017-11-04 09:27:46 +01:00
arch_hweight.h tools/headers: Synchronize kernel ABI headers 2017-11-04 09:27:46 +01:00
atomic.h xarray: Add XArray marks 2018-10-21 10:45:57 -04:00
const_hweight.h tools/headers: Synchronize kernel ABI headers 2017-11-04 09:27:46 +01:00
find.h tools: sync lib/find_bit implementation 2021-05-06 19:24:12 -07:00
fls.h fls: change parameter to unsigned int 2019-01-04 13:13:46 -08:00
fls64.h tools/headers: Synchronize kernel ABI headers 2017-11-04 09:27:46 +01:00
hweight.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
non-atomic.h xarray: Add XArray marks 2018-10-21 10:45:57 -04:00