diff options
author | Ingo Molnar <mingo@elte.hu> | 2007-08-09 11:16:49 +0200 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2007-08-09 11:16:49 +0200 |
commit | db53181e41728cfd58336925422dc17f1d2c655c (patch) | |
tree | 19e3d0e479dd60b23f771396cd42995c9981e128 /kernel | |
parent | e5fa2237b53d751c59f773a68e1b12c411f0b19b (diff) | |
download | op-kernel-dev-db53181e41728cfd58336925422dc17f1d2c655c.zip op-kernel-dev-db53181e41728cfd58336925422dc17f1d2c655c.tar.gz |
sched: remove the 'u64 now' parameter from dec_nr_running()
remove the 'u64 now' parameter from dec_nr_running().
( 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.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/sched.c b/kernel/sched.c index bdb6834..86e751a 100644 --- a/kernel/sched.c +++ b/kernel/sched.c @@ -816,7 +816,7 @@ static void inc_nr_running(struct task_struct *p, struct rq *rq) inc_load(rq, p); } -static void dec_nr_running(struct task_struct *p, struct rq *rq, u64 now) +static void dec_nr_running(struct task_struct *p, struct rq *rq) { rq->nr_running--; dec_load(rq, p); @@ -951,7 +951,7 @@ deactivate_task(struct rq *rq, struct task_struct *p, int sleep, u64 now) rq->nr_uninterruptible++; dequeue_task(rq, p, sleep, now); - dec_nr_running(p, rq, now); + dec_nr_running(p, rq); } /** |