Messages in this thread Patch in this message | | | Date | Mon, 11 Jun 2012 20:50:11 +0800 | Subject | [patch] BFS 421: revert handle CPU_ONLINE | From | Hillf Danton <> |
| |
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); } --
| |