patch-2.4.5 linux/kernel/exit.c
Next file: linux/kernel/fork.c
Previous file: linux/kernel/context.c
Back to the patch index
Back to the overall index
- Lines: 8
- Date:
Fri May 4 14:44:06 2001
- Orig file:
v2.4.4/linux/kernel/exit.c
- Orig date:
Fri Feb 9 11:29:44 2001
diff -u --recursive --new-file v2.4.4/linux/kernel/exit.c linux/kernel/exit.c
@@ -62,6 +62,7 @@
current->counter += p->counter;
if (current->counter >= MAX_COUNTER)
current->counter = MAX_COUNTER;
+ p->pid = 0;
free_task_struct(p);
} else {
printk("task releasing itself\n");
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)