patch-2.3.21 linux/include/linux/sched.h
Next file: linux/include/linux/synclink.h
Previous file: linux/include/linux/pc_keyb.h
Back to the patch index
Back to the overall index
- Lines: 10
- Date:
Mon Oct 11 14:58:12 1999
- Orig file:
v2.3.20/linux/include/linux/sched.h
- Orig date:
Sat Oct 9 11:47:50 1999
diff -u --recursive --new-file v2.3.20/linux/include/linux/sched.h linux/include/linux/sched.h
@@ -823,8 +823,8 @@
extern inline void unhash_process(struct task_struct *p)
{
if (task_on_runqueue(p)) BUG();
- nr_threads--;
write_lock_irq(&tasklist_lock);
+ nr_threads--;
unhash_pid(p);
REMOVE_LINKS(p);
write_unlock_irq(&tasklist_lock);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)