]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/blobdiff - mm/migrate.c
MM: Pass a PTE pointer to update_mmu_cache() rather than the PTE itself
[mirror_ubuntu-jammy-kernel.git] / mm / migrate.c
index efddbf0926b283ae5ef292e076ff9900842c4dd5..e58e5da25b9189e68b96187299609d0089a01173 100644 (file)
@@ -134,7 +134,7 @@ static int remove_migration_pte(struct page *new, struct vm_area_struct *vma,
                page_add_file_rmap(new);
 
        /* No need to invalidate - it was non-present before */
-       update_mmu_cache(vma, addr, pte);
+       update_mmu_cache(vma, addr, ptep);
 unlock:
        pte_unmap_unlock(ptep, ptl);
 out: