KVM: PPC: Use now shadowed vcpu fields
authorAlexander Graf <agraf@suse.de>
Thu, 15 Apr 2010 22:11:44 +0000 (00:11 +0200)
committerAvi Kivity <avi@redhat.com>
Mon, 17 May 2010 09:18:32 +0000 (12:18 +0300)
commit0604675fe17f68741730cebe74422605bb79d972
tree9eea58b6952f3d49be3bda9e957af104c191fe47
parent56db45a5cd06e3a6a7823a8cd7541e6bafe8427b
KVM: PPC: Use now shadowed vcpu fields

The shadow vcpu now contains some fields we don't use from the vcpu anymore.
Access to them happens using inline functions that happily use the shadow
vcpu fields.

So let's now ifdef them out to booke only and add asm-offsets.

Signed-off-by: Alexander Graf <agraf@suse.de>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/powerpc/include/asm/kvm_host.h
arch/powerpc/include/asm/paca.h
arch/powerpc/kernel/asm-offsets.c