Merge branch 'sched-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip
* 'sched-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip: sched: fix cpu hotplug
This commit is contained in:
@@ -5887,6 +5887,7 @@ static void migrate_dead_tasks(unsigned int dead_cpu)
|
|||||||
next = pick_next_task(rq, rq->curr);
|
next = pick_next_task(rq, rq->curr);
|
||||||
if (!next)
|
if (!next)
|
||||||
break;
|
break;
|
||||||
|
next->sched_class->put_prev_task(rq, next);
|
||||||
migrate_dead(dead_cpu, next);
|
migrate_dead(dead_cpu, next);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user