patch-2.3.10 linux/arch/i386/kernel/smp.c
Next file: linux/arch/i386/math-emu/fpu_emu.h
Previous file: linux/arch/i386/kernel/setup.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Thu Jul 1 15:09:00 1999
- Orig file:
v2.3.9/linux/arch/i386/kernel/smp.c
- Orig date:
Wed Jun 16 19:26:27 1999
diff -u --recursive --new-file v2.3.9/linux/arch/i386/kernel/smp.c linux/arch/i386/kernel/smp.c
@@ -1792,7 +1792,7 @@
update_one_process(p, 1, user, system, cpu);
if (p->pid) {
p->counter -= 1;
- if (p->counter < 0) {
+ if (p->counter <= 0) {
p->counter = 0;
p->need_resched = 1;
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)