From: Richard Henderson Date: Thu, 14 Feb 2013 01:47:42 +0000 (-0800) Subject: bitops: Replace bitops_ctol with ctzl X-Git-Tag: v1.5.0-rc0~679 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=0f9d8bd386c9b7b17fc68fef36caa81750c39494;p=users%2Fdwmw2%2Fqemu.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 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)