Rename fls to qemu_fls

Fix compiler warning on OSX, reported by Andreas Faerber.


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5982 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
blueswir1 2008-12-11 19:37:54 +00:00
parent 807d517027
commit ad46db9add
3 changed files with 3 additions and 3 deletions

View file

@ -858,7 +858,7 @@ VirtIODevice *virtio_init_pci(PCIBus *bus, const char *name,
size = 20 + config_size;
if (size & (size-1))
size = 1 << fls(size);
size = 1 << qemu_fls(size);
pci_register_io_region(pci_dev, 0, size, PCI_ADDRESS_SPACE_IO,
virtio_map);