diff options
Diffstat (limited to 'kernel/sched_fair.c')
-rw-r--r-- | kernel/sched_fair.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/kernel/sched_fair.c b/kernel/sched_fair.c index 9573c33688b8..42d211f08c94 100644 --- a/kernel/sched_fair.c +++ b/kernel/sched_fair.c | |||
@@ -1594,9 +1594,6 @@ static const struct sched_class fair_sched_class = { | |||
1594 | .enqueue_task = enqueue_task_fair, | 1594 | .enqueue_task = enqueue_task_fair, |
1595 | .dequeue_task = dequeue_task_fair, | 1595 | .dequeue_task = dequeue_task_fair, |
1596 | .yield_task = yield_task_fair, | 1596 | .yield_task = yield_task_fair, |
1597 | #ifdef CONFIG_SMP | ||
1598 | .select_task_rq = select_task_rq_fair, | ||
1599 | #endif /* CONFIG_SMP */ | ||
1600 | 1597 | ||
1601 | .check_preempt_curr = check_preempt_wakeup, | 1598 | .check_preempt_curr = check_preempt_wakeup, |
1602 | 1599 | ||
@@ -1604,6 +1601,8 @@ static const struct sched_class fair_sched_class = { | |||
1604 | .put_prev_task = put_prev_task_fair, | 1601 | .put_prev_task = put_prev_task_fair, |
1605 | 1602 | ||
1606 | #ifdef CONFIG_SMP | 1603 | #ifdef CONFIG_SMP |
1604 | .select_task_rq = select_task_rq_fair, | ||
1605 | |||
1607 | .load_balance = load_balance_fair, | 1606 | .load_balance = load_balance_fair, |
1608 | .move_one_task = move_one_task_fair, | 1607 | .move_one_task = move_one_task_fair, |
1609 | #endif | 1608 | #endif |