summaryrefslogtreecommitdiff
path: root/arch/x86/kvm/mmu.c
diff options
context:
space:
mode:
authorMarcelo Tosatti <marcelo@kvack.org>2008-02-14 23:25:39 (GMT)
committerAvi Kivity <avi@qumranet.com>2008-03-04 13:19:47 (GMT)
commit24993d53495d1f9b844f8eb3ebd1b9efd3521617 (patch)
tree93730205c36836e68973619fbbd8c8be0ad96cf1 /arch/x86/kvm/mmu.c
parent5e4a0b3c1b899bb0ba28bde6edf95c5ddeb48b5c (diff)
downloadlinux-fsl-qoriq-24993d53495d1f9b844f8eb3ebd1b9efd3521617.tar.xz
KVM: make MMU_DEBUG compile again
the cr3 variable is now inside the vcpu->arch structure. Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com> Signed-off-by: Avi Kivity <avi@qumranet.com>
Diffstat (limited to 'arch/x86/kvm/mmu.c')
-rw-r--r--arch/x86/kvm/mmu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kvm/mmu.c b/arch/x86/kvm/mmu.c
index 2603710..194ece6 100644
--- a/arch/x86/kvm/mmu.c
+++ b/arch/x86/kvm/mmu.c
@@ -1182,7 +1182,7 @@ void kvm_mmu_flush_tlb(struct kvm_vcpu *vcpu)
static void paging_new_cr3(struct kvm_vcpu *vcpu)
{
- pgprintk("%s: cr3 %lx\n", __FUNCTION__, vcpu->cr3);
+ pgprintk("%s: cr3 %lx\n", __FUNCTION__, vcpu->arch.cr3);
mmu_free_roots(vcpu);
}