aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/sched_fair.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
commit8494f412edecbdbc36105e0a08f80d05a14dde2c (patch)
treec89ad92e6a609023c973a06be2c8928e9ec63561 /kernel/sched_fair.c
parent525c2716a41d3e87387b32c5b0868acb52cbb559 (diff)
sched: remove the 'u64 now' parameter from set_next_entity()
remove the 'u64 now' parameter from set_next_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.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/kernel/sched_fair.c b/kernel/sched_fair.c
index da92b78570c0..538e09f17d71 100644
--- a/kernel/sched_fair.c
+++ b/kernel/sched_fair.c
@@ -624,7 +624,7 @@ __check_preempt_curr_fair(struct cfs_rq *cfs_rq, struct sched_entity *se,
624} 624}
625 625
626static inline void 626static inline void
627set_next_entity(struct cfs_rq *cfs_rq, struct sched_entity *se, u64 now) 627set_next_entity(struct cfs_rq *cfs_rq, struct sched_entity *se)
628{ 628{
629 /* 629 /*
630 * Any task has to be enqueued before it get to execute on 630 * Any task has to be enqueued before it get to execute on
@@ -642,7 +642,7 @@ static struct sched_entity *pick_next_entity(struct cfs_rq *cfs_rq, u64 now)
642{ 642{
643 struct sched_entity *se = __pick_next_entity(cfs_rq); 643 struct sched_entity *se = __pick_next_entity(cfs_rq);
644 644
645 set_next_entity(cfs_rq, se, now); 645 set_next_entity(cfs_rq, se);
646 646
647 return se; 647 return se;
648} 648}
@@ -1073,7 +1073,7 @@ static void set_curr_task_fair(struct rq *rq)
1073 1073
1074 for_each_sched_entity(se) { 1074 for_each_sched_entity(se) {
1075 cfs_rq = cfs_rq_of(se); 1075 cfs_rq = cfs_rq_of(se);
1076 set_next_entity(cfs_rq, se, now); 1076 set_next_entity(cfs_rq, se);
1077 } 1077 }
1078} 1078}
1079#else 1079#else