summaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2007-08-09 11:16:48 +0200
committerIngo Molnar <mingo@elte.hu>2007-08-09 11:16:48 +0200
commit2396af69bec0ba3274383c20de7a31acf7c74b7a (patch)
tree2d118a9dd5493bed7e65d0e7fefe7060d46d0570 /kernel
parentsched: remove the 'u64 now' parameter from __enqueue_sleeper() (diff)
downloadlinux-2396af69bec0ba3274383c20de7a31acf7c74b7a.tar.xz
linux-2396af69bec0ba3274383c20de7a31acf7c74b7a.zip
sched: remove the 'u64 now' parameter from enqueue_sleeper()
remove the 'u64 now' parameter from enqueue_sleeper(). ( identity transformation that causes no change in functionality. ) Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel')
-rw-r--r--kernel/sched_fair.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/kernel/sched_fair.c b/kernel/sched_fair.c
index f4dbc7e1ce4b..ca62f1973e2c 100644
--- a/kernel/sched_fair.c
+++ b/kernel/sched_fair.c
@@ -520,8 +520,7 @@ static void __enqueue_sleeper(struct cfs_rq *cfs_rq, struct sched_entity *se)
schedstat_add(cfs_rq, wait_runtime, se->wait_runtime);
}
-static void
-enqueue_sleeper(struct cfs_rq *cfs_rq, struct sched_entity *se, u64 now)
+static void enqueue_sleeper(struct cfs_rq *cfs_rq, struct sched_entity *se)
{
struct task_struct *tsk = task_of(se);
unsigned long delta_fair;
@@ -580,7 +579,7 @@ enqueue_entity(struct cfs_rq *cfs_rq, struct sched_entity *se,
update_curr(cfs_rq);
if (wakeup)
- enqueue_sleeper(cfs_rq, se, now);
+ enqueue_sleeper(cfs_rq, se);
update_stats_enqueue(cfs_rq, se);
__enqueue_entity(cfs_rq, se);