patch-2.4.0-test3 linux/arch/ppc/kernel/smp.c

Next file: linux/arch/ppc/kernel/syscalls.c
Previous file: linux/arch/ppc/config.in
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.0-test2/linux/arch/ppc/kernel/smp.c linux/arch/ppc/kernel/smp.c
@@ -95,7 +95,7 @@
 				p->counter = 0;
 				current->need_resched = 1;
 			}
-			if (p->priority < DEF_PRIORITY) {
+			if (p->nice > 0) {
 				kstat.cpu_nice += user;
 				kstat.per_cpu_nice[cpu] += user;
 			} else {

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)