patch-2.0.8 linux/kernel/sched.c
Next file: linux/kernel/sys.c
Previous file: linux/kernel/ksyms.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Wed Jul 17 14:43:32 1996
- Orig file:
v2.0.7/linux/kernel/sched.c
- Orig date:
Wed Jul 3 22:05:23 1996
diff -u --recursive --new-file v2.0.7/linux/kernel/sched.c linux/kernel/sched.c
@@ -1117,7 +1117,7 @@
if (increase)
increment = -increment;
newprio = current->priority - increment;
- if (newprio < 1)
+ if ((signed) newprio < 1)
newprio = 1;
if (newprio > DEF_PRIORITY*2)
newprio = DEF_PRIORITY*2;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov