[patch] BFS 420: fix handling CPU_ONLINE

From: Hillf Danton
Date: Fri May 25 2012 - 09:39:45 EST


The check of the given CPU belonging to root domain is inverse when handling
CPU_ONLINE, so correct it.

--- a/kernel/sched/bfs.c Mon May 14 20:50:38 2012
+++ b/kernel/sched/bfs.c Fri May 25 20:03:48 2012
@@ -5422,7 +5422,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/