patch-2.2.8 linux/kernel/exit.c
Next file: linux/kernel/sched.c
Previous file: linux/ipc/shm.c
Back to the patch index
Back to the overall index
- Lines: 12
- Date:
Fri Apr 30 08:13:37 1999
- Orig file:
v2.2.7/linux/kernel/exit.c
- Orig date:
Tue Mar 23 14:35:48 1999
diff -u --recursive --new-file v2.2.7/linux/kernel/exit.c linux/kernel/exit.c
@@ -32,9 +32,9 @@
*/
for (;;) {
int has_cpu;
- spin_lock(&scheduler_lock);
+ spin_lock_irq(&runqueue_lock);
has_cpu = p->has_cpu;
- spin_unlock(&scheduler_lock);
+ spin_unlock_irq(&runqueue_lock);
if (!has_cpu)
break;
do {
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)