diff options
author | Ingo Molnar <mingo@elte.hu> | 2007-08-09 05:16:48 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2007-08-09 05:16:48 -0400 |
commit | ab6cde2692c76b88ea430aa188ea50303216a955 (patch) | |
tree | f5372723e775049f11388507788db56fa6a0fcdd /kernel/sched_fair.c | |
parent | 9948f4b2a728e9ca4928a9a97eb09df955f5b17c (diff) |
sched: remove the 'u64 now' parameter from put_prev_entity()
remove the 'u64 now' parameter from put_prev_entity().
( identity transformation that causes no change in functionality. )
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel/sched_fair.c')
-rw-r--r-- | kernel/sched_fair.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/kernel/sched_fair.c b/kernel/sched_fair.c index 54afe8045382..a11d18861a3c 100644 --- a/kernel/sched_fair.c +++ b/kernel/sched_fair.c | |||
@@ -647,8 +647,7 @@ static struct sched_entity *pick_next_entity(struct cfs_rq *cfs_rq) | |||
647 | return se; | 647 | return se; |
648 | } | 648 | } |
649 | 649 | ||
650 | static void | 650 | static void put_prev_entity(struct cfs_rq *cfs_rq, struct sched_entity *prev) |
651 | put_prev_entity(struct cfs_rq *cfs_rq, struct sched_entity *prev, u64 now) | ||
652 | { | 651 | { |
653 | /* | 652 | /* |
654 | * If still on the runqueue then deactivate_task() | 653 | * If still on the runqueue then deactivate_task() |
@@ -888,7 +887,7 @@ static void put_prev_task_fair(struct rq *rq, struct task_struct *prev, u64 now) | |||
888 | 887 | ||
889 | for_each_sched_entity(se) { | 888 | for_each_sched_entity(se) { |
890 | cfs_rq = cfs_rq_of(se); | 889 | cfs_rq = cfs_rq_of(se); |
891 | put_prev_entity(cfs_rq, se, now); | 890 | put_prev_entity(cfs_rq, se); |
892 | } | 891 | } |
893 | } | 892 | } |
894 | 893 | ||