aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/sched.c
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2007-08-09 05:16:48 -0400
committerIngo Molnar <mingo@elte.hu>2007-08-09 05:16:48 -0400
commitfb8d47240246e20f864f0724a23a7220cd1c59ac (patch)
tree0c94ecb977355a2152655738bfcee6072c10f41e /kernel/sched.c
parentf02231e51a280f1a0fee4d03ad8f50048e06cced (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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/sched.c b/kernel/sched.c
index e51d75f4b4d7..b67a288a0f1f 100644
--- a/kernel/sched.c
+++ b/kernel/sched.c
@@ -3410,14 +3410,14 @@ pick_next_task(struct rq *rq, struct task_struct *prev, u64 now)
3410 * the fair class we can call that function directly: 3410 * the fair class we can call that function directly:
3411 */ 3411 */
3412 if (likely(rq->nr_running == rq->cfs.nr_running)) { 3412 if (likely(rq->nr_running == rq->cfs.nr_running)) {
3413 p = fair_sched_class.pick_next_task(rq, now); 3413 p = fair_sched_class.pick_next_task(rq);
3414 if (likely(p)) 3414 if (likely(p))
3415 return p; 3415 return p;
3416 } 3416 }
3417 3417
3418 class = sched_class_highest; 3418 class = sched_class_highest;
3419 for ( ; ; ) { 3419 for ( ; ; ) {
3420 p = class->pick_next_task(rq, now); 3420 p = class->pick_next_task(rq);
3421 if (p) 3421 if (p)
3422 return p; 3422 return p;
3423 /* 3423 /*