Commit 6188af0c authored by Linus Torvalds's avatar Linus Torvalds

Simplify tlb_flush_mmu() for exit case: makes it easier on the ia64

folks, and the ARM people didn't mind.
parent 8334b2cd
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment