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 a0aa38b10fdd..8de48a5da354 100644 --- a/kernel/sched_fair.c +++ b/kernel/sched_fair.c | |||
@@ -1593,9 +1593,6 @@ static const struct sched_class fair_sched_class = { | |||
1593 | .enqueue_task = enqueue_task_fair, | 1593 | .enqueue_task = enqueue_task_fair, |
1594 | .dequeue_task = dequeue_task_fair, | 1594 | .dequeue_task = dequeue_task_fair, |
1595 | .yield_task = yield_task_fair, | 1595 | .yield_task = yield_task_fair, |
1596 | #ifdef CONFIG_SMP | ||
1597 | .select_task_rq = select_task_rq_fair, | ||
1598 | #endif /* CONFIG_SMP */ | ||
1599 | 1596 | ||
1600 | .check_preempt_curr = check_preempt_wakeup, | 1597 | .check_preempt_curr = check_preempt_wakeup, |
1601 | 1598 | ||
@@ -1603,6 +1600,8 @@ static const struct sched_class fair_sched_class = { | |||
1603 | .put_prev_task = put_prev_task_fair, | 1600 | .put_prev_task = put_prev_task_fair, |
1604 | 1601 | ||
1605 | #ifdef CONFIG_SMP | 1602 | #ifdef CONFIG_SMP |
1603 | .select_task_rq = select_task_rq_fair, | ||
1604 | |||
1606 | .load_balance = load_balance_fair, | 1605 | .load_balance = load_balance_fair, |
1607 | .move_one_task = move_one_task_fair, | 1606 | .move_one_task = move_one_task_fair, |
1608 | #endif | 1607 | #endif |