bitops: introduce for_each_clear_bit()
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest7 patches 2 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/7 | bitops: rename for_each_set_bit_cont in favor of anologous to list.h functionarch/ include/ tools/ | +7 | 0 replies | |
| 2/7 | bitops: remove for_each_set_bit_continclude/ | +0 | 0 replies | |
| 3/7 | bitops: introduce list_for_each_clear_bitinclude/ | +11 | 2 replies | |
| 4/7 | mtd: use for_each_clear_bitdrivers/ | +2 | 0 replies | |
| 5/7 | s390/char: use for_each_clear_bitdrivers/ | +2 | 0 replies | |
| 6/7 | uwb: use for_each_clear_bitdrivers/ | +2 | 0 replies | |
| 7/7 | x86: use for_each_clear_bit_fromarch/ | +3 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/7] bitops: introduce for_each_clear_bit()
This patch set introduces for_each_clear_bit() which is similar to for_each_set_bit(), but it iterates over all the cleared bits in a memory region.
This also renames for_each_set_bit_cont() to for_each_set_bit_from() because it is anologous to list_for_each_entry_from() in list.h rather than list_for_each_entry_continue(), and then introduces for_each_clear_bit_from(), too.
Akinobu Mita (7):
bitops: rename for_each_set_bit_cont in favor of anologous to list.h
function
bitops: remove for_each_set_bit_cont
bitops: introduce list_for_each_clear_bit
mtd: use for_each_clear_bit
s390/char: use for_each_clear_bit
uwb: use for_each_clear_bit
x86: use for_each_clear_bit_from
arch/x86/kernel/cpu/perf_event.c | 4 ++-- arch/x86/kernel/irqinit.c | 6 +++--- drivers/mtd/chips/cfi_cmdset_0001.c | 6 ++---- drivers/s390/char/sclp_cmd.c | 5 ++--- drivers/uwb/allocator.c | 6 ++---- include/linux/bitops.h | 13 ++++++++++++- tools/perf/util/include/linux/bitops.h | 2 +- 7 files changed, 24 insertions(+), 18 deletions(-)
Cc Robert Richter <[email protected]>
Cc Thomas Gleixner <[email protected]>
Cc Ingo Molnar <[email protected]>
Cc "H. Peter Anvin" <[email protected]>
Cc David Woodhouse <[email protected]>
Cc Martin Schwidefsky <[email protected]>
Cc Heiko Carstens <[email protected]>
Signature · 1 line
1.7.4.4