[patch] BFS 421: revert handle CPU_ONLINE

From: Hillf Danton
Date: Mon Jun 11 2012 - 08:50:10 EST


No reason to change whatever in the __init region, or I have to handle
why the newly built kernel hangs as early as she could.


--- a/kernel/sched/bfs.c Fri Jun 8 21:34:34 2012
+++ b/kernel/sched/bfs.c Mon Jun 11 20:07:46 2012
@@ -5349,7 +5349,7 @@ migration_call(struct notifier_block *nf
/* Update our root-domain */
grq_lock_irqsave(&flags);
if (rq->rd) {
- BUG_ON(cpumask_test_cpu(cpu, rq->rd->span));
+ BUG_ON(!cpumask_test_cpu(cpu, rq->rd->span));

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