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-bus.c
virtio-mmio.c
virtio-pci.c
virtio-pci.h
virtio-rng.c
virtio.c