Re: [PATCH 3/7] bitops: introduce list_for_each_clear_bit

From: Sergei Shtylyov
Date: Fri Jan 13 2012 - 11:17:50 EST


Hello.

On 01/13/2012 06:53 PM, Akinobu Mita wrote:

Introduce list_for_each_clear_bit() and list_for_each_clear_bit_from().

It seems you've got somewhat muddled -- you're actually introducing for_each_clear_bit() and for_each_clear_bit_from()

They are similar to for_each_set_bit() and list_for_each_set_bit_from(),
but they iterate over all the cleared bits in a memory region.

Signed-off-by: Akinobu Mita<akinobu.mita@xxxxxxxxx>
Cc: Robert Richter<robert.richter@xxxxxxx>
Cc: Thomas Gleixner<tglx@xxxxxxxxxxxxx>
Cc: Ingo Molnar<mingo@xxxxxxxxxx>
Cc: "H. Peter Anvin"<hpa@xxxxxxxxx>
Cc: x86@xxxxxxxxxx
Cc: David Woodhouse<dwmw2@xxxxxxxxxxxxx>
Cc: linux-mtd@xxxxxxxxxxxxxxxxxxx
Cc: Martin Schwidefsky<schwidefsky@xxxxxxxxxx>
Cc: Heiko Carstens<heiko.carstens@xxxxxxxxxx>
Cc: linux390@xxxxxxxxxx
Cc: linux-s390@xxxxxxxxxxxxxxx
Cc: linux-usb@xxxxxxxxxxxxxxx

WBR, Sergei

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/