patch-2.1.19 linux/kernel/exit.c
Next file: linux/kernel/fork.c
Previous file: linux/include/linux/uio.h
Back to the patch index
Back to the overall index
- Lines: 16
- Date:
Mon Dec 30 13:03:13 1996
- Orig file:
v2.1.18/linux/kernel/exit.c
- Orig date:
Tue Oct 29 19:58:48 1996
diff -u --recursive --new-file v2.1.18/linux/kernel/exit.c linux/kernel/exit.c
@@ -19,6 +19,7 @@
#include <asm/uaccess.h>
#include <asm/pgtable.h>
+#include <asm/mmu_context.h>
extern void sem_exit (void);
extern void acct_process (long exitcode);
@@ -475,6 +476,7 @@
if (mm != &init_mm) {
flush_cache_mm(mm);
flush_tlb_mm(mm);
+ destroy_context(mm);
tsk->mm = &init_mm;
tsk->swappable = 0;
SET_PAGE_DIR(tsk, swapper_pg_dir);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov