Am 01.02.2013 23:03, schrieb Paolo Bonzini: > We had two copies of a ffs function for longs with subtly different > semantics and, for the one in bitops.h, a confusing name: the result > was off-by-one compared to the library function ffsl. > > Unify the functions into one, and solve the name problem by calling > the 0-based functions "bitops_ctzl" and "bitops_ctol" respectively. > > This also fixes the build on platforms with ffsl, including Mac OS X > and Windows. > > Signed-off-by: Paolo Bonzini <pbonz...@redhat.com>
Tested-by: Andreas Färber <afaer...@suse.de> This fixes the build on OpenIndiana, too. Thanks, Andreas -- SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer; HRB 16746 AG Nürnberg