Alan,
This fixes the compile error under SMP for 2.4.19-pre8-ac2 in sched.c
due to the latest scheduling changes.
I do not know how I missed this - much apologies. Please apply.
Robert Love
--=-GeUrR7cLEx1WvnRhy5xy
Content-Disposition: attachment; filename=sched-compile-fix-rml-2.4.19-pre8-ac2-1.patch
Content-Transfer-Encoding: quoted-printable
Content-Type: text/x-patch; name=sched-compile-fix-rml-2.4.19-pre8-ac2-1.patch;
charset=ISO-8859-1
diff -urN linux-2.4.19-pre8-ac2/kernel/sched.c linux/kernel/sched.c
--- linux-2.4.19-pre8-ac2/kernel/sched.c Mon May 13 09:15:12 2002
+++ linux/kernel/sched.c Mon May 13 09:19:32 2002
@@ -1592,18 +1592,18 @@
cpu_dest =3D __ffs(p->cpus_allowed);
rq_dest =3D cpu_rq(cpu_dest);
repeat:
- cpu_src =3D p->thread_info->cpu;
+ cpu_src =3D p->cpu;
rq_src =3D cpu_rq(cpu_src);
=20
local_irq_save(flags);
double_rq_lock(rq_src, rq_dest);
- if (p->thread_info->cpu !=3D cpu_src) {
+ if (p->cpu !=3D cpu_src) {
double_rq_unlock(rq_src, rq_dest);
local_irq_restore(flags);
goto repeat;
}
if (rq_src =3D=3D rq) {
- p->thread_info->cpu =3D cpu_dest;
+ p->cpu =3D cpu_dest;
if (p->array) {
deactivate_task(p, rq_src);
activate_task(p, rq_dest);
--=-GeUrR7cLEx1WvnRhy5xy--
-
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/