diff options
author | Ingo Molnar <mingo@elte.hu> | 2007-08-09 05:16:49 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2007-08-09 05:16:49 -0400 |
commit | ff95f3df54609d9d4b9572f8a67d09922a645043 (patch) | |
tree | 4a4390b68be011709997424cd536acd72f47690e /kernel/sched.c | |
parent | fb8d47240246e20f864f0724a23a7220cd1c59ac (diff) |
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>
Diffstat (limited to 'kernel/sched.c')
-rw-r--r-- | kernel/sched.c | 6 |
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 | */ |
3402 | static inline struct task_struct * | 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 | 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); |