From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932628Ab2AMPzh (ORCPT ); Fri, 13 Jan 2012 10:55:37 -0500 Received: from mail-gx0-f174.google.com ([209.85.161.174]:43115 "EHLO mail-gx0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932220Ab2AMPxc (ORCPT ); Fri, 13 Jan 2012 10:53:32 -0500 From: Akinobu Mita To: linux-kernel@vger.kernel.org, akpm@linux-foundation.org Cc: Akinobu Mita , Robert Richter , Thomas Gleixner , Ingo Molnar , "H. Peter Anvin" , x86@kernel.org, David Woodhouse , linux-mtd@lists.infradead.org, Martin Schwidefsky , Heiko Carstens , linux390@de.ibm.com, linux-s390@vger.kernel.org, linux-usb@vger.kernel.org Subject: [PATCH 0/7] bitops: introduce for_each_clear_bit() Date: Sat, 14 Jan 2012 00:53:17 +0900 Message-Id: <1326470004-10096-1-git-send-email-akinobu.mita@gmail.com> X-Mailer: git-send-email 1.7.4.4 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 Cc: Thomas Gleixner Cc: Ingo Molnar Cc: "H. Peter Anvin" Cc: x86@kernel.org Cc: David Woodhouse Cc: linux-mtd@lists.infradead.org Cc: Martin Schwidefsky Cc: Heiko Carstens Cc: linux390@de.ibm.com Cc: linux-s390@vger.kernel.org Cc: linux-usb@vger.kernel.org -- 1.7.4.4