Skip to contentSkip to conversation

kernel/sched.c -1ULL vs. (cycles_t) -1

Linux-ia64 Erich Focht 1 participant 1 message Nov 22, 2001

lore
Share & tools
lore
#0 lore raw

David,

in your ia64 patches you have a small cosmetic change which is (sort of) making kernel/sched.c platform dependent:

kernel/sched.c Wed Oct 24 10:21:35 2001 renamed from kernel/sched.c Wed Oct 24 10:18:08 2001 +1 -1
diff -urN linux-2.4.14/kernel/sched.c linux-2.4.14-lia/kernel/sched.c
@@ -266,7 +266,7 @@
                                target_tsk = tsk;
                        }
                } else {
-                       if (oldest_idle = -1ULL) {
+                       if (oldest_idle = (cycles_t) -1) {
                                int prio = preemption_goodness(tsk, p,

cpu);

[ in two places ].
Because of this one needs separate patches for IA-64 and other platforms when
working on the scheduler. Would you mind taking this out or trying to get it into
the base-line kernel?

Thanks,
Erich