diff options
author | Ralf Baechle <ralf@linux-mips.org> | 1997-06-17 13:20:30 +0000 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 1997-06-17 13:20:30 +0000 |
commit | 7acb77a6e7bddd4c4c5aa975bbf976927c013798 (patch) | |
tree | 4139829ec6edb85f73774bb95cdec376758bfc73 /kernel/sched.c | |
parent | 64d58d4c8cd6a89ee218301ec0dc0ebfec91a4db (diff) |
Merge with 2.1.43.
Diffstat (limited to 'kernel/sched.c')
-rw-r--r-- | kernel/sched.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel/sched.c b/kernel/sched.c index 9f32305ee..94662ddb3 100644 --- a/kernel/sched.c +++ b/kernel/sched.c @@ -140,6 +140,7 @@ static inline void move_last_runqueue(struct task_struct * p) prev->next_run = p; } +#ifdef __SMP__ /* * The tasklist_lock protects the linked list of processes. * @@ -154,6 +155,7 @@ static inline void move_last_runqueue(struct task_struct * p) 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 |