Commit e5fa2237b53d751c59f773a68e1b12c411f0b19b
1 parent
79b5dddf83
Exists in
master
and in
4 other branches
sched: remove the 'u64 now' parameter from inc_nr_running()
remove the 'u64 now' parameter from inc_nr_running(). ( identity transformation that causes no change in functionality. ) Signed-off-by: Ingo Molnar <mingo@elte.hu>
Showing 1 changed file with 4 additions and 4 deletions Side-by-side Diff
kernel/sched.c
... | ... | @@ -810,7 +810,7 @@ |
810 | 810 | update_load_sub(&rq->ls.load, p->se.load.weight); |
811 | 811 | } |
812 | 812 | |
813 | -static void inc_nr_running(struct task_struct *p, struct rq *rq, u64 now) | |
813 | +static void inc_nr_running(struct task_struct *p, struct rq *rq) | |
814 | 814 | { |
815 | 815 | rq->nr_running++; |
816 | 816 | inc_load(rq, p); |
... | ... | @@ -921,7 +921,7 @@ |
921 | 921 | rq->nr_uninterruptible--; |
922 | 922 | |
923 | 923 | enqueue_task(rq, p, wakeup, now); |
924 | - inc_nr_running(p, rq, now); | |
924 | + inc_nr_running(p, rq); | |
925 | 925 | } |
926 | 926 | |
927 | 927 | /* |
... | ... | @@ -938,7 +938,7 @@ |
938 | 938 | rq->nr_uninterruptible--; |
939 | 939 | |
940 | 940 | enqueue_task(rq, p, 0, now); |
941 | - inc_nr_running(p, rq, now); | |
941 | + inc_nr_running(p, rq); | |
942 | 942 | } |
943 | 943 | |
944 | 944 | /* |
... | ... | @@ -1671,7 +1671,7 @@ |
1671 | 1671 | * management (if any): |
1672 | 1672 | */ |
1673 | 1673 | p->sched_class->task_new(rq, p); |
1674 | - inc_nr_running(p, rq, now); | |
1674 | + inc_nr_running(p, rq); | |
1675 | 1675 | } |
1676 | 1676 | check_preempt_curr(rq, p); |
1677 | 1677 | task_rq_unlock(rq, &flags); |