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 dfae1bf6d5b2..9fe8e17574af 100644
--- a/kernel/sched.c
+++ b/kernel/sched.c
@@ -4603,7 +4603,7 @@ static inline void schedule_debug(struct task_struct *prev)
4603 * Pick up the highest-prio task: 4603 * Pick up the highest-prio task:
4604 */ 4604 */
4605static inline struct task_struct * 4605static inline struct task_struct *
4606pick_next_task(struct rq *rq, struct task_struct *prev) 4606pick_next_task(struct rq *rq)
4607{ 4607{
4608 const struct sched_class *class; 4608 const struct sched_class *class;
4609 struct task_struct *p; 4609 struct task_struct *p;
@@ -4678,7 +4678,7 @@ need_resched_nonpreemptible:
4678 idle_balance(cpu, rq); 4678 idle_balance(cpu, rq);
4679 4679
4680 prev->sched_class->put_prev_task(rq, prev); 4680 prev->sched_class->put_prev_task(rq, prev);
4681 next = pick_next_task(rq, prev); 4681 next = pick_next_task(rq);
4682 4682
4683 if (likely(prev != next)) { 4683 if (likely(prev != next)) {
4684 sched_info_switch(prev, next); 4684 sched_info_switch(prev, next);
@@ -6514,7 +6514,7 @@ static void migrate_dead_tasks(unsigned int dead_cpu)
6514 if (!rq->nr_running) 6514 if (!rq->nr_running)
6515 break; 6515 break;
6516 update_rq_clock(rq); 6516 update_rq_clock(rq);
6517 next = pick_next_task(rq, rq->curr); 6517 next = pick_next_task(rq);
6518 if (!next) 6518 if (!next)
6519 break; 6519 break;
6520 next->sched_class->put_prev_task(rq, next); 6520 next->sched_class->put_prev_task(rq, next);