host-utils: add ffsl
authorPaolo Bonzini <pbonzini@redhat.com>
Mon, 21 Jan 2013 16:09:39 +0000 (17:09 +0100)
committerKevin Wolf <kwolf@redhat.com>
Fri, 25 Jan 2013 17:18:32 +0000 (18:18 +0100)
commit4c37ef022381e777251d7084591978a4dc622efe
tree321ffddba6c78e884be819f9b8200695a6238b71
parent11c29918be32be5b00f367c7da9724a5cddbbb0f
host-utils: add ffsl

We can provide fast versions based on the other functions defined
by host-utils.h.  Some care is required on glibc, which provides
ffsl already.

Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
include/qemu/host-utils.h