]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - mm/migrate.c
mm: clarify that the function operates on hugepage pte
[mirror_ubuntu-bionic-kernel.git] / mm / migrate.c
index d4fe1f94120b92e23124651d3d6345fbb65a6289..ee401e4e5ef187c92247d03dd6d2ea0893092d1c 100644 (file)
@@ -1799,7 +1799,7 @@ fail_putback:
         */
        flush_cache_range(vma, mmun_start, mmun_end);
        page_add_anon_rmap(new_page, vma, mmun_start);
-       pmdp_clear_flush_notify(vma, mmun_start, pmd);
+       pmdp_huge_clear_flush_notify(vma, mmun_start, pmd);
        set_pmd_at(mm, mmun_start, pmd, entry);
        flush_tlb_range(vma, mmun_start, mmun_end);
        update_mmu_cache_pmd(vma, address, &entry);