Home
last modified time | relevance | path

Searched hist:"591 b320ad046b2780c1b2841b836b50ba8192f02" (Results 1 – 1 of 1) sorted by relevance

/openbmc/qemu/util/
H A Dhbitmap.cdiff 591b320ad046b2780c1b2841b836b50ba8192f02 Tue Jun 03 18:07:20 CDT 2014 Peter Maydell <peter.maydell@linaro.org> 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>