[PATCH] 2.5.9-dj1 bind_cpu compile error

Adam Kropelin (akropel1@rochester.rr.com)
Tue, 23 Apr 2002 13:57:19 -0400


It looks like a piece of Erich Focht's migration thread patch escaped
2.5.9-dj1. This fixes it for me...

--Adam

--- linux-2.5.9-dj1-virgin/kernel/sched.c Tue Apr 23 13:11:53 2002
+++ linux-2.5.9-dj1/kernel/sched.c Tue Apr 23 13:13:26 2002
@@ -1678,9 +1678,7 @@
preempt_enable();
}

-static volatile unsigned long migration_mask;
-
-static int migration_thread(void * unused)
+static int migration_thread(void * bind_cpu)
{
int cpu = cpu_logical_map((int) (long) bind_cpu);
struct sched_param param = { sched_priority: 99 };

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/