commit | 4932398fac273b8ebe5688bc4b79407a7f41edbd | [log] [tgz] |
---|---|---|
author | Richard Henderson <rth@twiddle.net> | Wed Feb 13 17:47:41 2013 -0800 |
committer | Blue Swirl <blauwirbel@gmail.com> | Sat Feb 16 11:12:37 2013 +0000 |
tree | 93530c537e767dadafc32484567fd47549b0cea2 | |
parent | 14e534265aad0796690a5aea429f5bd2877ccff0 [diff] [blame] |
bitops: Inline bitops_flsl This 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>
diff --git a/util/bitops.c b/util/bitops.c index 9cd1c3a..50b4a81 100644 --- a/util/bitops.c +++ b/util/bitops.c
@@ -133,7 +133,7 @@ tmp = addr[--words]; if (tmp) { found: - return words * BITS_PER_LONG + bitops_flsl(tmp); + return words * BITS_PER_LONG + BITS_PER_LONG - 1 - clzl(tmp); } }