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

Next file: linux/arch/alpha/kernel/sys_sx164.c
Previous file: linux/arch/alpha/kernel/setup.c
Back to the patch index
Back to the overall index

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

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