aboutsummaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
Diffstat (limited to 'kernel')
-rw-r--r--kernel/sched.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/kernel/sched.c b/kernel/sched.c
index e509dbd7d77f..8b92f40c147d 100644
--- a/kernel/sched.c
+++ b/kernel/sched.c
@@ -4610,7 +4610,7 @@ static inline void schedule_debug(struct task_struct *prev)
4610 * Pick up the highest-prio task: 4610 * Pick up the highest-prio task:
4611 */ 4611 */
4612static inline struct task_struct * 4612static inline struct task_struct *
4613pick_next_task(struct rq *rq, struct task_struct *prev) 4613pick_next_task(struct rq *rq)
4614{ 4614{
4615 const struct sched_class *class; 4615 const struct sched_class *class;
4616 struct task_struct *p; 4616 struct task_struct *p;
@@ -4685,7 +4685,7 @@ need_resched_nonpreemptible:
4685 idle_balance(cpu, rq); 4685 idle_balance(cpu, rq);
4686 4686
4687 prev->sched_class->put_prev_task(rq, prev); 4687 prev->sched_class->put_prev_task(rq, prev);
4688 next = pick_next_task(rq, prev); 4688 next = pick_next_task(rq);
4689 4689
4690 if (likely(prev != next)) { 4690 if (likely(prev != next)) {
4691 sched_info_switch(prev, next); 4691 sched_info_switch(prev, next);
@@ -6521,7 +6521,7 @@ static void migrate_dead_tasks(unsigned int dead_cpu)
6521 if (!rq->nr_running) 6521 if (!rq->nr_running)
6522 break; 6522 break;
6523 update_rq_clock(rq); 6523 update_rq_clock(rq);
6524 next = pick_next_task(rq, rq->curr); 6524 next = pick_next_task(rq);
6525 if (!next) 6525 if (!next)
6526 break; 6526 break;
6527 next->sched_class->put_prev_task(rq, next); 6527 next->sched_class->put_prev_task(rq, next);