kvm: qemu: add fls()
commit3f8ad09173b225e2820877c83e71d347ba5f125f
authorMarcelo Tosatti <mtosatti@redhat.com>
Mon, 17 Mar 2008 20:20:14 +0000 (17 17:20 -0300)
committerAvi Kivity <avi@qumranet.com>
Tue, 18 Mar 2008 06:37:23 +0000 (18 08:37 +0200)
treed08aa90c9180fad1146142109f4be1e1a774a6bb
parent66d2040427098244e0fb36266d1e198600745bd7
kvm: qemu: add fls()

Find Last Set, in accordance with glibc's ffs.

Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Signed-off-by: Avi Kivity <avi@qumranet.com>
qemu/cutils.c
qemu/qemu-common.h