KVM: ppc: optimize find first bit
authorHollis Blanchard <hollisb@us.ibm.com>
Wed, 5 Nov 2008 15:36:22 +0000 (09:36 -0600)
committerAvi Kivity <avi@redhat.com>
Wed, 31 Dec 2008 14:52:23 +0000 (16:52 +0200)
commit9ab80843c01ac25139e635d018467e528729a317
tree725d1926e9fc26e8dfe6f51e2f15b2c91c673022
parent1b6766c7f3533c5d03668e11dd5617ae4a52e5a8
KVM: ppc: optimize find first bit

Since we use a unsigned long here anyway we can use the optimized __ffs.

Signed-off-by: Christian Ehrhardt <ehrhardt@linux.vnet.ibm.com>
Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/powerpc/kvm/booke.c