aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--kernel/sched.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/kernel/sched.c b/kernel/sched.c
index b67a288a0f1f..4f9f9e9d7265 100644
--- a/kernel/sched.c
+++ b/kernel/sched.c
@@ -3400,7 +3400,7 @@ static inline void schedule_debug(struct task_struct *prev)
3400 * Pick up the highest-prio task: 3400 * Pick up the highest-prio task:
3401 */ 3401 */
3402static inline struct task_struct * 3402static inline struct task_struct *
3403pick_next_task(struct rq *rq, struct task_struct *prev, u64 now) 3403pick_next_task(struct rq *rq, struct task_struct *prev)
3404{ 3404{
3405 struct sched_class *class; 3405 struct sched_class *class;
3406 struct task_struct *p; 3406 struct task_struct *p;
@@ -3471,7 +3471,7 @@ need_resched_nonpreemptible:
3471 idle_balance(cpu, rq); 3471 idle_balance(cpu, rq);
3472 3472
3473 prev->sched_class->put_prev_task(rq, prev, now); 3473 prev->sched_class->put_prev_task(rq, prev, now);
3474 next = pick_next_task(rq, prev, now); 3474 next = pick_next_task(rq, prev);
3475 3475
3476 sched_info_switch(prev, next); 3476 sched_info_switch(prev, next);
3477 3477
@@ -5222,7 +5222,7 @@ static void migrate_dead_tasks(unsigned int dead_cpu)
5222 if (!rq->nr_running) 5222 if (!rq->nr_running)
5223 break; 5223 break;
5224 update_rq_clock(rq); 5224 update_rq_clock(rq);
5225 next = pick_next_task(rq, rq->curr, rq->clock); 5225 next = pick_next_task(rq, rq->curr);
5226 if (!next) 5226 if (!next)
5227 break; 5227 break;
5228 migrate_dead(dead_cpu, next); 5228 migrate_dead(dead_cpu, next);