patch-2.4.0-test3 linux/arch/sparc/kernel/sun4d_smp.c

Next file: linux/arch/sparc/kernel/sun4m_smp.c
Previous file: linux/arch/sparc/kernel/sparc_ksyms.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.0-test2/linux/arch/sparc/kernel/sun4d_smp.c linux/arch/sparc/kernel/sun4d_smp.c
@@ -484,7 +484,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)