qemu-e2k/hw
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
..
9pfs
acpi
alpha
arm
audio
block
bt
char
core
cpu
cris
display
dma
gpio
i2c
i386
ide
input
intc
ipack
isa
lm32
m68k
microblaze
mips
misc
moxie
net
nvram
openrisc
pci
pci-bridge
pci-host
pcmcia
ppc
s390x
scsi
sd
sh4
sparc
sparc64
ssi
timer
tpm
unicore32
usb
virtio vhost: replace ffsl with ctzl 2014-06-11 00:25:06 +01:00
watchdog
xen
xenpv
xtensa
Makefile.objs