diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2000-07-11 02:32:09 +0000 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2000-07-11 02:32:09 +0000 |
commit | 7f5ea64ad438953cbeb3055f424dfac01d5bcfc7 (patch) | |
tree | f8cabc30da0d0eaa578cb6369c816e02af148510 /kernel/exit.c | |
parent | 99e873a7003ab3980a6296c29066e3ab7956a009 (diff) |
Merge with Linux 2.4.0-test3.
Diffstat (limited to 'kernel/exit.c')
-rw-r--r-- | kernel/exit.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/exit.c b/kernel/exit.c index 536a6dd9c..5675c7f53 100644 --- a/kernel/exit.c +++ b/kernel/exit.c @@ -55,8 +55,8 @@ void release(struct task_struct * p) * was given away by the parent in the first place.) */ current->counter += p->counter; - if (current->counter >= current->priority*2) - current->counter = current->priority*2-1; + if (current->counter >= MAX_COUNTER) + current->counter = MAX_COUNTER; free_task_struct(p); } else { printk("task releasing itself\n"); |