aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/sched.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/sched.c')
-rw-r--r--kernel/sched.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/sched.c b/kernel/sched.c
index bdb683464c00..86e751a19d6b 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)
816 inc_load(rq, p); 816 inc_load(rq, p);
817} 817}
818 818
819static void dec_nr_running(struct task_struct *p, struct rq *rq, u64 now) 819static void dec_nr_running(struct task_struct *p, struct rq *rq)
820{ 820{
821 rq->nr_running--; 821 rq->nr_running--;
822 dec_load(rq, p); 822 dec_load(rq, p);
@@ -951,7 +951,7 @@ deactivate_task(struct rq *rq, struct task_struct *p, int sleep, u64 now)
951 rq->nr_uninterruptible++; 951 rq->nr_uninterruptible++;
952 952
953 dequeue_task(rq, p, sleep, now); 953 dequeue_task(rq, p, sleep, now);
954 dec_nr_running(p, rq, now); 954 dec_nr_running(p, rq);
955} 955}
956 956
957/** 957/**