]> git.karo-electronics.de Git - karo-tx-linux.git/commit
KVM: PPC: Use same kvmppc_prepare_to_enter code for booke and book3s_pr
authorAlexander Graf <agraf@suse.de>
Fri, 10 Aug 2012 10:28:50 +0000 (12:28 +0200)
committerAlexander Graf <agraf@suse.de>
Mon, 24 Sep 2012 12:50:27 +0000 (14:50 +0200)
commit0e915e845653301f3250bde4afd8751313bcadfc
tree876778f56136f75174fe801b15e4649f909388bd
parentdf1495c9a962043f83cb77fa615f0b4675ee9b45
KVM: PPC: Use same kvmppc_prepare_to_enter code for booke and book3s_pr

We need to do the same things when preparing to enter a guest for booke and
book3s_pr cores. Fold the generic code into a generic function that both call.

Signed-off-by: Alexander Graf <agraf@suse.de>
arch/powerpc/include/asm/kvm_ppc.h
arch/powerpc/kvm/book3s_pr.c
arch/powerpc/kvm/booke.c
arch/powerpc/kvm/powerpc.c