From: Richard Henderson Date: Thu, 14 Feb 2013 01:47:42 +0000 (-0800) Subject: bitops: Replace bitops_ctol with ctzl X-Git-Tag: qemu-xen-4.4.0-rc1~6^2~1118 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=0f9d8bd386c9b7b17fc68fef36caa81750c39494;p=qemu-upstream-4.6-testing.git bitops: Replace bitops_ctol with ctzl The is the only remaining user. Signed-off-by: Richard Henderson Reviewed-by: Eric Blake Signed-off-by: Blue Swirl --- diff --git a/util/bitops.c b/util/bitops.c index 50b4a811a..e72237ab2 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)