Re: [Qemu-devel] [RFC 05/29] bitmap: introduce bitmap_count_one()
* Peter Xu (pet...@redhat.com) wrote: > Count how many bits set in the bitmap. > > Signed-off-by: Peter Xu> --- > include/qemu/bitmap.h | 10 ++ > util/bitmap.c | 15 +++ > 2 files changed, 25 insertions(+) > > diff --git a/include/qemu/bitmap.h
[Qemu-devel] [RFC 05/29] bitmap: introduce bitmap_count_one()
Count how many bits set in the bitmap. Signed-off-by: Peter Xu--- include/qemu/bitmap.h | 10 ++ util/bitmap.c | 15 +++ 2 files changed, 25 insertions(+) diff --git a/include/qemu/bitmap.h b/include/qemu/bitmap.h index 460d899..9c18da0 100644