2.4-ac resend: SMP compile fix for sched.c
PATCH 1/1 2.4-ac resend: SMP compile fix for sched.c
Alan,
Attached patch fixes the CONFIG_SMP compile error in kernel/sched.c due to my latest O(1) scheduler patches that went into -ac2. I apologize for the slip - not sure how I missed the error.
Patch is against 2.4.19-pre8-ac3 - please apply. Thanks,
Robert Love
kernel/sched.c +3 -3
@@ -1592,18 +1592,18 @@ cpu_dest =__ffs (p->cpus_allowed); rq_dest =cpu_rq (cpu_dest); repeat: - cpu_src = p->thread_info->cpu; + cpu_src = p->cpu; rq_src =cpu_rq (cpu_src);local_irq_save (flags);double_rq_lock (rq_src, rq_dest); -if (p->thread_info->cpu != cpu_src) { +if (p->cpu != cpu_src) {double_rq_unlock (rq_src, rq_dest);local_irq_restore (flags); goto repeat; }if (rq_src == rq) { - p->thread_info->cpu = cpu_dest; + p->cpu = cpu_dest;if (p->array) {deactivate_task (p, rq_src);activate_task (p, rq_dest);