]> Pileus Git - ~andy/linux/blobdiff - mm/migrate.c
USB: ehci-fsl: Fix sparse warnings
[~andy/linux] / mm / migrate.c
index 880bd592d38ea47af36f5f9b64323e8814d09f24..edb6101ed774da0244cb129f332a6914b73465de 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: