]> git.neil.brown.name Git - history.git/commitdiff
Simplify tlb_flush_mmu() for exit case: makes it easier on the ia64
authorLinus Torvalds <torvalds@penguin.transmeta.com>
Fri, 31 May 2002 09:07:48 +0000 (02:07 -0700)
committerLinus Torvalds <torvalds@penguin.transmeta.com>
Fri, 31 May 2002 09:07:48 +0000 (02:07 -0700)
folks, and the ARM people didn't mind.

mm/mmap.c

index 3bcf054112ed5e40114d2ff6c5f1377d484d24ee..d6f010bb8e89af101aa4762d4f7a7b2c35e2a00e 100644 (file)
--- a/mm/mmap.c
+++ b/mm/mmap.c
@@ -1124,7 +1124,7 @@ void exit_mmap(struct mm_struct * mm)
                BUG();
 
        clear_page_tables(tlb, FIRST_USER_PGD_NR, USER_PTRS_PER_PGD);
-       tlb_finish_mmu(tlb, FIRST_USER_PGD_NR*PGDIR_SIZE, USER_PTRS_PER_PGD*PGDIR_SIZE);
+       tlb_finish_mmu(tlb, 0, TASK_SIZE);
 
        mpnt = mm->mmap;
        mm->mmap = mm->mmap_cache = NULL;