patch-2.3.10 linux/arch/ppc/kernel/smp.c

Next file: linux/arch/sparc/ap1000/aplib.c
Previous file: linux/arch/ppc/kernel/setup.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.9/linux/arch/ppc/kernel/smp.c linux/arch/ppc/kernel/smp.c
@@ -85,7 +85,7 @@
 			update_one_process(p, 1, user, system, cpu);
 
 			p->counter -= 1;
-			if (p->counter < 0) {
+			if (p->counter <= 0) {
 				p->counter = 0;
 				current->need_resched = 1;
 			}

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