aboutsummaryrefslogtreecommitdiff
path: root/blockjob.c
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2014-06-04 00:07:20 +0100
committerPeter Maydell <peter.maydell@linaro.org>2014-06-11 00:25:06 +0100
commit591b320ad046b2780c1b2841b836b50ba8192f02 (patch)
tree2ba9ddd9749006fec105964c7bd43d9f34e971b2 /blockjob.c
parent6b24119b7f5b250119b67d93ea6d044500483e82 (diff)
util/hbitmap.c: Use ctpopl rather than reimplementing a local equivalent
The function popcountl() in hbitmap.c is effectively a reimplementation of what host-utils.h provides as ctpopl(). Use ctpopl() directly; this fixes a failure to compile on NetBSD (whose strings.h erroneously exposes a system popcountl() which clashes with this one). Reported-by: Martin Husemann <martin@duskware.de> Reviewed-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'blockjob.c')
0 files changed, 0 insertions, 0 deletions