patch-2.4.22 linux-2.4.22/kernel/sched.c
Next file: linux-2.4.22/kernel/sys.c
Previous file: linux-2.4.22/kernel/ptrace.c
Back to the patch index
Back to the overall index
- Lines: 18
- Date:
2003-08-25 04:44:44.000000000 -0700
- Orig file:
linux-2.4.21/kernel/sched.c
- Orig date:
2003-06-13 07:51:39.000000000 -0700
diff -urN linux-2.4.21/kernel/sched.c linux-2.4.22/kernel/sched.c
@@ -282,7 +282,7 @@
target_tsk = tsk;
}
} else {
- if (oldest_idle == -1ULL) {
+ if (oldest_idle == (cycles_t)-1) {
int prio = preemption_goodness(tsk, p, cpu);
if (prio > max_prio) {
@@ -294,7 +294,7 @@
}
tsk = target_tsk;
if (tsk) {
- if (oldest_idle != -1ULL) {
+ if (oldest_idle != (cycles_t)-1) {
best_cpu = tsk->processor;
goto send_now_idle;
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)