hw/apic.c: use fls() from host-utils
authoraurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162>
Thu, 4 Dec 2008 20:57:02 +0000 (20:57 +0000)
committeraurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162>
Thu, 4 Dec 2008 20:57:02 +0000 (20:57 +0000)
commit5735254c9b30af119be050f95584e7f3cc7df26c
tree0e353f02725d1c0f30bceadf9f853d72eb7d5b99
parent6715d28afa43e46ce98f221710aabec86cec39e1
hw/apic.c: use fls() from host-utils

...and fix a bug, the implementation in hw/apic.c was wrong.

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5876 c046a42c-6fe2-441c-8c8c-71466251a162
hw/apic.c