Commit ff95f3df authored by Ingo Molnar's avatar Ingo Molnar

sched: remove the 'u64 now' parameter from pick_next_task()

remove the 'u64 now' parameter from pick_next_task().

( identity transformation that causes no change in functionality. )
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent fb8d4724
...@@ -3400,7 +3400,7 @@ static inline void schedule_debug(struct task_struct *prev) ...@@ -3400,7 +3400,7 @@ static inline void schedule_debug(struct task_struct *prev)
* Pick up the highest-prio task: * Pick up the highest-prio task:
*/ */
static inline struct task_struct * static inline struct task_struct *
pick_next_task(struct rq *rq, struct task_struct *prev, u64 now) pick_next_task(struct rq *rq, struct task_struct *prev)
{ {
struct sched_class *class; struct sched_class *class;
struct task_struct *p; struct task_struct *p;
...@@ -3471,7 +3471,7 @@ asmlinkage void __sched schedule(void) ...@@ -3471,7 +3471,7 @@ asmlinkage void __sched schedule(void)
idle_balance(cpu, rq); idle_balance(cpu, rq);
prev->sched_class->put_prev_task(rq, prev, now); prev->sched_class->put_prev_task(rq, prev, now);
next = pick_next_task(rq, prev, now); next = pick_next_task(rq, prev);
sched_info_switch(prev, next); sched_info_switch(prev, next);
...@@ -5222,7 +5222,7 @@ static void migrate_dead_tasks(unsigned int dead_cpu) ...@@ -5222,7 +5222,7 @@ static void migrate_dead_tasks(unsigned int dead_cpu)
if (!rq->nr_running) if (!rq->nr_running)
break; break;
update_rq_clock(rq); update_rq_clock(rq);
next = pick_next_task(rq, rq->curr, rq->clock); next = pick_next_task(rq, rq->curr);
if (!next) if (!next)
break; break;
migrate_dead(dead_cpu, next); migrate_dead(dead_cpu, next);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment