From: Richard Henderson Date: Thu, 14 Feb 2013 01:47:37 +0000 (-0800) Subject: bitops: Use non-bitops ctzl X-Git-Tag: TizenStudio_2.0_p2.3.2~208^2~2527 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=265ce4a5ca39fb7f74a803dd61bbd9108ca6cdee;p=sdk%2Femulator%2Fqemu.git bitops: Use non-bitops ctzl The use of ctz has already eliminated zero, and thus the difference in edge conditions between the two routines is irrelevant. 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 7b853cf..9cd1c3a 100644 --- a/util/bitops.c +++ b/util/bitops.c @@ -60,7 +60,7 @@ found_first: return result + size; /* Nope. */ } found_middle: - return result + bitops_ctzl(tmp); + return result + ctzl(tmp); } /*