fork, memcg: fix cached_stacks case
[linux-2.6-microblaze.git] / mm / migrate.c
index 5d1839a..ccf8966 100644 (file)
@@ -2636,7 +2636,7 @@ static void migrate_vma_insert_page(struct migrate_vma *migrate,
         *
         * Here we only have down_read(mmap_sem).
         */
-       if (pte_alloc(mm, pmdp, addr))
+       if (pte_alloc(mm, pmdp))
                goto abort;
 
        /* See the comment in pte_alloc_one_map() */