[<prev] [next>] [day] [month] [year] [list]
Message-ID: <CAJd=RBDt019ynGPgxSEZhk3vw=-JkqQdkfR+uyA3J4=5Kdybdg@mail.gmail.com>
Date: Fri, 25 May 2012 21:39:49 +0800
From: Hillf Danton <dhillf@...il.com>
To: LKML <linux-kernel@...r.kernel.org>,
Hillf Danton <dhillf@...il.com>
Subject: [patch] BFS 420: fix handling CPU_ONLINE
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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists