diff options
| author | Peter Maydell <peter.maydell@linaro.org> | 2014-06-04 00:07:20 +0100 |
|---|---|---|
| committer | Peter Maydell <peter.maydell@linaro.org> | 2014-06-11 00:25:06 +0100 |
| commit | 591b320ad046b2780c1b2841b836b50ba8192f02 (patch) | |
| tree | 2ba9ddd9749006fec105964c7bd43d9f34e971b2 /bsd-user/strace.c | |
| parent | 6b24119b7f5b250119b67d93ea6d044500483e82 (diff) | |
| download | focaccia-qemu-591b320ad046b2780c1b2841b836b50ba8192f02.tar.gz focaccia-qemu-591b320ad046b2780c1b2841b836b50ba8192f02.zip | |
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 'bsd-user/strace.c')
0 files changed, 0 insertions, 0 deletions