]> git.proxmox.com Git - mirror_qemu.git/commit
hbitmap: Use non-bitops ctzl
authorRichard Henderson <rth@twiddle.net>
Thu, 14 Feb 2013 01:47:36 +0000 (17:47 -0800)
committerBlue Swirl <blauwirbel@gmail.com>
Sat, 16 Feb 2013 11:11:34 +0000 (11:11 +0000)
commit18331e7c189507513008a2936f5fe79c3d8b8a08
treed29a74fa9fbab380a6770c4a8181786111f13fbb
parent72d81155d0b88ba757c5a972d3fff83027e7a6e7
hbitmap: Use non-bitops ctzl

Both uses of ctz have already eliminated zero, and thus the difference
in edge conditions between the two routines is irrelevant.

Signed-off-by: Richard Henderson <rth@twiddle.net>
Acked-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
include/qemu/hbitmap.h
util/hbitmap.c