bitops: Replace bitops_ctol with ctzl

The is the only remaining user.

Signed-off-by: Richard Henderson <rth@twiddle.net>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
This commit is contained in:
Richard Henderson 2013-02-13 17:47:42 -08:00 committed by Blue Swirl
parent 4932398fac
commit 0f9d8bd386
1 changed files with 1 additions and 1 deletions

View File

@ -109,7 +109,7 @@ found_first:
return result + size; /* Nope. */
}
found_middle:
return result + bitops_ctol(tmp);
return result + ctzl(~tmp);
}
unsigned long find_last_bit(const unsigned long *addr, unsigned long size)