]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - kernel/fork.c
add mm argument to pte/pmd/pud/pgd_free
[linux-2.6-omap-h63xx.git] / kernel / fork.c
index 6caf4f23206b4e0490a9fc57535e99646cc37a70..1160f87ba70063385324be45511638c9f3e9421b 100644 (file)
@@ -325,7 +325,7 @@ static inline int mm_alloc_pgd(struct mm_struct * mm)
 
 static inline void mm_free_pgd(struct mm_struct * mm)
 {
-       pgd_free(mm->pgd);
+       pgd_free(mm, mm->pgd);
 }
 #else
 #define dup_mmap(mm, oldmm)    (0)