KVM: Portability: Move mmu-related fields to kvm_arch
[deliverable/linux.git] / drivers / kvm / mmu.h
index 9ebfd1cafe62f285dccd7b288248aeb30ad23ffa..cbfc272262df3beb9b014d4179e2206ebe2d31f5 100644 (file)
@@ -5,7 +5,7 @@
 
 static inline void kvm_mmu_free_some_pages(struct kvm_vcpu *vcpu)
 {
-       if (unlikely(vcpu->kvm->n_free_mmu_pages < KVM_MIN_FREE_MMU_PAGES))
+       if (unlikely(vcpu->kvm->arch.n_free_mmu_pages < KVM_MIN_FREE_MMU_PAGES))
                __kvm_mmu_free_some_pages(vcpu);
 }
 
This page took 0.042296 seconds and 5 git commands to generate.