unicore32 upgrade to v2.6.38-rc5: add one more paramter for pte_alloc_map call
authorGuanXuetao <gxt@mprc.pku.edu.cn>
Tue, 22 Feb 2011 09:34:47 +0000 (17:34 +0800)
committerGuanXuetao <gxt@mprc.pku.edu.cn>
Thu, 17 Mar 2011 01:19:18 +0000 (09:19 +0800)
Signed-off-by: Guan Xuetao <gxt@mprc.pku.edu.cn>
arch/unicore32/mm/pgd.c

index 632cef7cd3782eb1d049f60fb3e2febba4e6324f..08b8d4295e70037877ae80dd273f50c23b756075 100644 (file)
@@ -54,7 +54,7 @@ pgd_t *get_pgd_slow(struct mm_struct *mm)
                if (!new_pmd)
                        goto no_pmd;
 
-               new_pte = pte_alloc_map(mm, new_pmd, 0);
+               new_pte = pte_alloc_map(mm, NULL, new_pmd, 0);
                if (!new_pte)
                        goto no_pte;