patch-2.1.43 linux/kernel/sched.c
Next file: linux/kernel/sys.c
Previous file: linux/kernel/panic.c
Back to the patch index
Back to the overall index
- Lines: 16
- Date:
Thu Jun 12 16:22:10 1997
- Orig file:
v2.1.42/linux/kernel/sched.c
- Orig date:
Sat May 24 09:10:25 1997
diff -u --recursive --new-file v2.1.42/linux/kernel/sched.c linux/kernel/sched.c
@@ -140,6 +140,7 @@
prev->next_run = p;
}
+#ifdef __SMP__
/*
* The tasklist_lock protects the linked list of processes.
*
@@ -154,6 +155,7 @@
rwlock_t tasklist_lock = RW_LOCK_UNLOCKED;
spinlock_t scheduler_lock = SPIN_LOCK_UNLOCKED;
static spinlock_t runqueue_lock = SPIN_LOCK_UNLOCKED;
+#endif
/*
* Wake up a process. Put it on the run-queue if it's not
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov