diff --git a/mm/migrate.c b/mm/migrate.c index 27ed22579fd97a21171b952deb78316438e69297..b1f57501de9c8f4f0705b30fef748c4c3f145e86 100644 --- a/mm/migrate.c +++ b/mm/migrate.c @@ -165,7 +165,7 @@ static int remove_migration_pte(struct page *new, struct vm_area_struct *vma, pte = arch_make_huge_pte(pte, vma, new, 0); } #endif - flush_cache_page(vma, addr, pte_pfn(pte)); + flush_dcache_page(new); set_pte_at(mm, addr, ptep, pte); if (PageHuge(new)) {