bitmap: use for_each_set_bit()
authorAkinobu Mita <akinobu.mita@gmail.com>
Fri, 5 Mar 2010 21:43:18 +0000 (13:43 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 6 Mar 2010 19:26:35 +0000 (11:26 -0800)
commit08564fb7ab9ead9226b6154439c3fecd17972eb0
treea6bb96ffbe702d22d29bca871c42993cf552e9fa
parent9a86e2bad0b9fbf3290ae496da6dab9536dd6bf7
bitmap: use for_each_set_bit()

Replace open-coded loop with for_each_set_bit().

Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
lib/bitmap.c