KVM: Take kvm instead of vcpu to mmu_notifier_retry
[firefly-linux-kernel-4.4.55.git] / arch / powerpc / kvm / book3s_hv_rm_mmu.c
index 9955216477a4c7934284276b499184893e959251..5e06e3153888f6c3dd2affcdd2ae0e414eea7e6e 100644 (file)
@@ -297,7 +297,7 @@ long kvmppc_h_enter(struct kvm_vcpu *vcpu, unsigned long flags,
                lock_rmap(rmap);
                /* Check for pending invalidations under the rmap chain lock */
                if (kvm->arch.using_mmu_notifiers &&
-                   mmu_notifier_retry(vcpu, mmu_seq)) {
+                   mmu_notifier_retry(vcpu->kvm, mmu_seq)) {
                        /* inval in progress, write a non-present HPTE */
                        pteh |= HPTE_V_ABSENT;
                        pteh &= ~HPTE_V_VALID;