]> 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>
Tue, 14 Aug 2012 22:29:08 +0000 (00:29 +0200)
commit830773d4e45d3ad08f40ec67e677ff361a66f6b2
tree91d4003152b933b2010e470b330bd988c1492088
parent89193758de29abb6b049df6339f67d83031f6ba0
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