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 /arch/alpha | |
parent | 99e873a7003ab3980a6296c29066e3ab7956a009 (diff) |
Merge with Linux 2.4.0-test3.
Diffstat (limited to 'arch/alpha')
-rw-r--r-- | arch/alpha/kernel/process.c | 2 | ||||
-rw-r--r-- | arch/alpha/kernel/smp.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/arch/alpha/kernel/process.c b/arch/alpha/kernel/process.c index 27b042777..81d85386d 100644 --- a/arch/alpha/kernel/process.c +++ b/arch/alpha/kernel/process.c @@ -74,7 +74,7 @@ void cpu_idle(void) { /* An endless idle loop with no priority at all. */ - current->priority = 0; + current->nice = 20; current->counter = -100; while (1) { diff --git a/arch/alpha/kernel/smp.c b/arch/alpha/kernel/smp.c index b812e2c64..b00e7d79b 100644 --- a/arch/alpha/kernel/smp.c +++ b/arch/alpha/kernel/smp.c @@ -651,7 +651,7 @@ smp_percpu_timer_interrupt(struct pt_regs *regs) } if (user) { - if (current->priority < DEF_PRIORITY) { + if (current->nice > 0) { kstat.cpu_nice++; kstat.per_cpu_nice[cpu]++; } else { |