KVM: PPC: factor out lpid allocator from book3s_64_mmu_hv
authorScott Wood <scottwood@freescale.com>
Tue, 20 Dec 2011 15:34:20 +0000 (15:34 +0000)
committerAvi Kivity <avi@redhat.com>
Sun, 8 Apr 2012 09:51:02 +0000 (12:51 +0300)
commit043cc4d724da6bb9e4f417c735accec58dfa40bf
treefa2d40741f8dcd636bb0c74f98f87cb88e6a2be4
parent06aae86799c1b37f216371e05a1eacb2188bee9d
KVM: PPC: factor out lpid allocator from book3s_64_mmu_hv

We'll use it on e500mc as well.

Signed-off-by: Scott Wood <scottwood@freescale.com>
Signed-off-by: Alexander Graf <agraf@suse.de>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/powerpc/include/asm/kvm_book3s.h
arch/powerpc/include/asm/kvm_booke.h
arch/powerpc/include/asm/kvm_ppc.h
arch/powerpc/kvm/book3s_64_mmu_hv.c
arch/powerpc/kvm/powerpc.c