bitops: Add __ffs64 bitop
authorSteven Whitehouse <swhiteho@redhat.com>
Thu, 23 Apr 2009 07:48:15 +0000 (08:48 +0100)
committerSteven Whitehouse <swhiteho@redhat.com>
Thu, 23 Apr 2009 09:06:35 +0000 (10:06 +0100)
commit952043ac12a117d8e94bddd9088338d7ad20ca7d
tree3ad716873d90392fbf1888084af9be7e5e242e1f
parent091069740304c979f957ceacec39c461d0192158
bitops: Add __ffs64 bitop

Finds the first set bit in a 64 bit word. This is required in order
to fix a bug in GFS2, but I think it should be a generic function
in case of future users.

Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Reviewed-by: Christoph Lameter <cl@linux.com>
Reviewed-by: Willy Tarreau <w@1wt.eu>
include/linux/bitops.h