]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: PPC: Make real mode handler generic
authorAlexander Graf <agraf@suse.de>
Thu, 15 Apr 2010 22:11:46 +0000 (00:11 +0200)
committerAvi Kivity <avi@redhat.com>
Mon, 17 May 2010 09:18:35 +0000 (12:18 +0300)
commit9f0f1e58df2567007b6790ba7820a3ad5afea332
treeb8fe961f478e03b252487a1cff085e9f71f6a6ac
parent8e329872482ab9818e0381c43dffb7287f6a330f
KVM: PPC: Make real mode handler generic

The real mode handler code was originally writen for 64 bit Book3S only.
But since we not add 32 bit functionality too, we need to make some tweaks
to it.

This patch basically combines using the "long" access defines and using
fields from the shadow VCPU we just moved there.

Signed-off-by: Alexander Graf <agraf@suse.de>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/powerpc/kvm/book3s_rmhandlers.S