aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
Diffstat (limited to 'arch')
-rw-r--r--arch/x86/kvm/mmu.c2
-rw-r--r--arch/x86/kvm/paging_tmpl.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/kvm/mmu.c b/arch/x86/kvm/mmu.c
index 26037106ad19..194ece6974e6 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)
1182 1182
1183static void paging_new_cr3(struct kvm_vcpu *vcpu) 1183static void paging_new_cr3(struct kvm_vcpu *vcpu)
1184{ 1184{
1185 pgprintk("%s: cr3 %lx\n", __FUNCTION__, vcpu->cr3); 1185 pgprintk("%s: cr3 %lx\n", __FUNCTION__, vcpu->arch.cr3);
1186 mmu_free_roots(vcpu); 1186 mmu_free_roots(vcpu);
1187} 1187}
1188 1188
diff --git a/arch/x86/kvm/paging_tmpl.h b/arch/x86/kvm/paging_tmpl.h
index 2009c6e9dc4d..5588fa594b61 100644
--- a/arch/x86/kvm/paging_tmpl.h
+++ b/arch/x86/kvm/paging_tmpl.h
@@ -143,7 +143,7 @@ walk:
143 } 143 }
144#endif 144#endif
145 ASSERT((!is_long_mode(vcpu) && is_pae(vcpu)) || 145 ASSERT((!is_long_mode(vcpu) && is_pae(vcpu)) ||
146 (vcpu->cr3 & CR3_NONPAE_RESERVED_BITS) == 0); 146 (vcpu->arch.cr3 & CR3_NONPAE_RESERVED_BITS) == 0);
147 147
148 pt_access = ACC_ALL; 148 pt_access = ACC_ALL;
149 149