Merge tag 'locking-urgent-2021-07-11' of git://git.kernel.org/pub/scm/linux/kernel...
[linux-2.6-microblaze.git] / virt / kvm / kvm_main.c
index 6866c17..7d95126 100644 (file)
@@ -2290,7 +2290,7 @@ static kvm_pfn_t hva_to_pfn(unsigned long addr, bool atomic, bool *async,
        }
 
 retry:
-       vma = find_vma_intersection(current->mm, addr, addr + 1);
+       vma = vma_lookup(current->mm, addr);
 
        if (vma == NULL)
                pfn = KVM_PFN_ERR_FAULT;