if (p->sched_contributes_to_load)
rq->nr_uninterruptible--;
- /*
- * If we migrated; we must have called sched_class::task_waking().
- */
if (wake_flags & WF_MIGRATED)
- en_flags |= ENQUEUE_WAKING;
+ en_flags |= ENQUEUE_MIGRATED;
#endif
ttwu_activate(rq, p, en_flags);
cpu = select_task_rq(p, p->wake_cpu, SD_BALANCE_WAKE, wake_flags);
if (task_cpu(p) != cpu) {
wake_flags |= WF_MIGRATED;
-
- if (p->sched_class->task_waking)
- p->sched_class->task_waking(p);
-
set_task_cpu(p, cpu);
}
#endif /* CONFIG_SMP */