diff options
author | Richard Henderson <rth@twiddle.net> | 2013-02-13 17:47:42 -0800 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2013-02-16 11:12:45 +0000 |
commit | 0f9d8bd386c9b7b17fc68fef36caa81750c39494 (patch) | |
tree | 515593113ff05794996b4aa385258a7bff1cb210 /util/bitops.c | |
parent | 4932398fac273b8ebe5688bc4b79407a7f41edbd (diff) |
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>
Diffstat (limited to 'util/bitops.c')
-rw-r--r-- | util/bitops.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util/bitops.c b/util/bitops.c index 50b4a811a6..e72237ab2b 100644 --- a/util/bitops.c +++ b/util/bitops.c @@ -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) |