Commit ff95f3df54609d9d4b9572f8a67d09922a645043
1 parent
fb8d472402
Exists in
master
and in
4 other branches
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: Ingo Molnar <mingo@elte.hu>
Showing 1 changed file with 3 additions and 3 deletions Side-by-side Diff
kernel/sched.c
... | ... | @@ -3400,7 +3400,7 @@ |
3400 | 3400 | * Pick up the highest-prio task: |
3401 | 3401 | */ |
3402 | 3402 | static inline struct task_struct * |
3403 | -pick_next_task(struct rq *rq, struct task_struct *prev, u64 now) | |
3403 | +pick_next_task(struct rq *rq, struct task_struct *prev) | |
3404 | 3404 | { |
3405 | 3405 | struct sched_class *class; |
3406 | 3406 | struct task_struct *p; |
... | ... | @@ -3471,7 +3471,7 @@ |
3471 | 3471 | idle_balance(cpu, rq); |
3472 | 3472 | |
3473 | 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 | 3476 | sched_info_switch(prev, next); |
3477 | 3477 | |
... | ... | @@ -5222,7 +5222,7 @@ |
5222 | 5222 | if (!rq->nr_running) |
5223 | 5223 | break; |
5224 | 5224 | update_rq_clock(rq); |
5225 | - next = pick_next_task(rq, rq->curr, rq->clock); | |
5225 | + next = pick_next_task(rq, rq->curr); | |
5226 | 5226 | if (!next) |
5227 | 5227 | break; |
5228 | 5228 | migrate_dead(dead_cpu, next); |