]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - mm/migrate.c
mm,numa: fix update_mmu_cache_pmd call
[karo-tx-linux.git] / mm / migrate.c
index 32efd8028bc9742ba5595ee57ff8e2b8722f9c91..3b676b0c5c3ecca91d5e91d8ef2adc2982353f57 100644 (file)
@@ -1734,7 +1734,7 @@ int migrate_misplaced_transhuge_page(struct mm_struct *mm,
        page_add_new_anon_rmap(new_page, vma, haddr);
 
        set_pmd_at(mm, haddr, pmd, entry);
-       update_mmu_cache_pmd(vma, address, entry);
+       update_mmu_cache_pmd(vma, address, &entry);
        page_remove_rmap(page);
        /*
         * Finish the charge transaction under the page table lock to