mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2025-01-11 16:29:05 +00:00
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>
This commit is contained in:
parent
e5fa2237b5
commit
db53181e41
@ -816,7 +816,7 @@ static void inc_nr_running(struct task_struct *p, struct rq *rq)
|
|||||||
inc_load(rq, p);
|
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--;
|
rq->nr_running--;
|
||||||
dec_load(rq, p);
|
dec_load(rq, p);
|
||||||
@ -951,7 +951,7 @@ deactivate_task(struct rq *rq, struct task_struct *p, int sleep, u64 now)
|
|||||||
rq->nr_uninterruptible++;
|
rq->nr_uninterruptible++;
|
||||||
|
|
||||||
dequeue_task(rq, p, sleep, now);
|
dequeue_task(rq, p, sleep, now);
|
||||||
dec_nr_running(p, rq, now);
|
dec_nr_running(p, rq);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user