]> git.karo-electronics.de Git - karo-tx-linux.git/commit
m68k: Add ext2_find_{first,next}_bit() for ext4
authorAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Sun, 8 Jun 2008 20:30:48 +0000 (22:30 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 16 Jun 2008 20:20:03 +0000 (13:20 -0700)
commitc547cbac3ae2fe6689e764ba45f99b5733e506a9
tree682229e9aeaef39711bb49ff82ad0c7d7f41b35b
parentbc5f3280dfe06b606f49a0eee13fede2cc7f5635
m68k: Add ext2_find_{first,next}_bit() for ext4

commit 69c5ddf58a03da3686691ad2f293bc79fd977c10 upstream

Add ext2_find_{first,next}_bit(), which are needed for ext4.
They're derived out of the ext2_find_next_zero_bit found in the same file.
Compile tested with crosstools

[Reworked to preserve all symmetry with ext2_find_{first,next}_zero_bit()]

This fixes http://bugzilla.kernel.org/show_bug.cgi?id=10393

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
include/asm-m68k/bitops.h