diff options
| author | Richard Henderson | 2013-02-14 02:47:42 +0100 |
|---|---|---|
| committer | Blue Swirl | 2013-02-16 12:12:45 +0100 |
| commit | 0f9d8bd386c9b7b17fc68fef36caa81750c39494 (patch) | |
| tree | 515593113ff05794996b4aa385258a7bff1cb210 /util | |
| parent | bitops: Inline bitops_flsl (diff) | |
| download | qemu-0f9d8bd386c9b7b17fc68fef36caa81750c39494.tar.gz qemu-0f9d8bd386c9b7b17fc68fef36caa81750c39494.tar.xz qemu-0f9d8bd386c9b7b17fc68fef36caa81750c39494.zip | |
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')
| -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) |
