summaryrefslogtreecommitdiffstats
path: root/include/exec/ram_addr.h
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2014-04-29 16:17:29 +0200
committerPeter Maydell <peter.maydell@linaro.org>2014-06-11 00:25:06 +0100
commit747eb78baa8803c58a1063e5da5b7f1e11b20eeb (patch)
tree03f2b63d9043ebfcd2c3f0ed8c7f05a2b7d96880 /include/exec/ram_addr.h
parentadf9d70b0dd754b4626fd0ae2b52014060cf7ba4 (diff)
downloadhqemu-747eb78baa8803c58a1063e5da5b7f1e11b20eeb.zip
hqemu-747eb78baa8803c58a1063e5da5b7f1e11b20eeb.tar.gz
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>
Diffstat (limited to 'include/exec/ram_addr.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud