diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2000-08-28 22:00:09 +0000 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2000-08-28 22:00:09 +0000 |
commit | 1a1d77dd589de5a567fa95e36aa6999c704ceca4 (patch) | |
tree | 141e31f89f18b9fe0831f31852e0435ceaccafc5 /kernel/sched.c | |
parent | fb9c690a18b3d66925a65b17441c37fa14d4370b (diff) |
Merge with 2.4.0-test7.
Diffstat (limited to 'kernel/sched.c')
-rw-r--r-- | kernel/sched.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/kernel/sched.c b/kernel/sched.c index 688b30c7b..fda8b5eea 100644 --- a/kernel/sched.c +++ b/kernel/sched.c @@ -247,7 +247,7 @@ static inline void reschedule_idle(struct task_struct * p, unsigned long flags) * one will have the least active cache context.) Also find * the executing process which has the least priority. */ - oldest_idle = -1ULL; + oldest_idle = (cycles_t) -1; target_tsk = NULL; max_prio = 1; @@ -454,7 +454,6 @@ signed long schedule_timeout(signed long timeout) */ static inline void __schedule_tail(struct task_struct *prev) { - current->need_resched |= prev->need_resched; #ifdef CONFIG_SMP if ((prev->state == TASK_RUNNING) && (prev != idle_task(smp_processor_id()))) { |