qemu-e2k/hw/virtio
Natanael Copa 747eb78baa vhost: replace ffsl with ctzl
Avoid using the GNU extesion ffsl which is not implemented in musl libc.

The atomic_xchg() means we know that vhost_log_chunk_t will never be
larger than the 'long' type, so ctzl() is always sufficient.

See also commit fbeadf50 (bitops: unify bitops_ffsl with the one in
host-utils.h, call it bitops_ctzl) on why ctzl should be used instead
of ffsl.

Signed-off-by: Natanael Copa <ncopa@alpinelinux.org>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
2014-06-11 00:25:06 +01:00
..
dataplane
Makefile.objs
vhost.c vhost: replace ffsl with ctzl 2014-06-11 00:25:06 +01:00
virtio-balloon.c virtio-balloon: return empty data when no stats are available 2014-05-25 12:46:58 +03:00
virtio-bus.c
virtio-mmio.c
virtio-pci.c
virtio-pci.h
virtio-rng.c
virtio.c virtio.c: fix error message 2014-06-10 20:07:01 +04:00