]> 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>
Fri, 5 Oct 2012 21:33:32 +0000 (23:33 +0200)
commit4df918ffaddfb526e474fc2c37783575e403ce24
treeed1135f8862466b9fc9373049f30ce087fb668a8
parentb659adc053355a862cbee3ebcde97975b52772d1
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