]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
m68k: Add ext2_find_{first,next}_bit() for ext4
authorAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Thu, 12 Jun 2008 22:21:29 +0000 (15:21 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 13 Jun 2008 01:05:39 +0000 (18:05 -0700)
commit69c5ddf58a03da3686691ad2f293bc79fd977c10
treefe38365f1ebc44e58456480d2ddd508430a036b3
parent2d518f84e5ecd1d71df0e6ac5176d212f68c27ce
m68k: Add ext2_find_{first,next}_bit() for ext4

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

[akpm@linux-foundation.org: coding-style fixes]
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>
include/asm-m68k/bitops.h