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

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)