diff options
| author | Peter Maydell | 2014-06-04 01:07:20 +0200 |
|---|---|---|
| committer | Peter Maydell | 2014-06-11 01:25:06 +0200 |
| commit | 591b320ad046b2780c1b2841b836b50ba8192f02 (patch) | |
| tree | 2ba9ddd9749006fec105964c7bd43d9f34e971b2 /scripts/checkpatch.pl | |
| parent | bsd-user: refresh freebsd system call numbers (diff) | |
| download | qemu-591b320ad046b2780c1b2841b836b50ba8192f02.tar.gz qemu-591b320ad046b2780c1b2841b836b50ba8192f02.tar.xz 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 'scripts/checkpatch.pl')
0 files changed, 0 insertions, 0 deletions
