]> git.proxmox.com Git - mirror_qemu.git/commit - xen-hvm.c
xen: replace ffsl with ctzl
authorNatanael Copa <ncopa@alpinelinux.org>
Tue, 29 Apr 2014 14:17:28 +0000 (16:17 +0200)
committerPeter Maydell <peter.maydell@linaro.org>
Tue, 10 Jun 2014 23:25:06 +0000 (00:25 +0100)
commitadf9d70b0dd754b4626fd0ae2b52014060cf7ba4
tree5ae9764c9034abc5b16215b64cd8b7a9f9273dd6
parent6ad3f09bd457275f534810c2fce90fb03305a91a
xen: replace ffsl with ctzl

ffsl is a GNU extension and not available in musl libc.

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>
[PMM: rebased to accommodate file rename to xen-hvm.c]
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
xen-hvm.c