]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita0547db976d87cbe9b27e1c22c7fc8b3c472d315
tree3ad716873d90392fbf1888084af9be7e5e242e1f
parent1e0aeebdb5124157dd204ae4c92d732bfd7443c5
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