aboutsummaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
Diffstat (limited to 'kernel')
-rw-r--r--kernel/sched.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/sched.c b/kernel/sched.c
index ff4aa17d65c8..7bed2c58b986 100644
--- a/kernel/sched.c
+++ b/kernel/sched.c
@@ -782,13 +782,13 @@ dec_load(struct rq *rq, const struct task_struct *p, u64 now)
782 update_load_sub(&rq->ls.load, p->se.load.weight); 782 update_load_sub(&rq->ls.load, p->se.load.weight);
783} 783}
784 784
785static inline void inc_nr_running(struct task_struct *p, struct rq *rq, u64 now) 785static void inc_nr_running(struct task_struct *p, struct rq *rq, u64 now)
786{ 786{
787 rq->nr_running++; 787 rq->nr_running++;
788 inc_load(rq, p, now); 788 inc_load(rq, p, now);
789} 789}
790 790
791static inline void dec_nr_running(struct task_struct *p, struct rq *rq, u64 now) 791static void dec_nr_running(struct task_struct *p, struct rq *rq, u64 now)
792{ 792{
793 rq->nr_running--; 793 rq->nr_running--;
794 dec_load(rq, p, now); 794 dec_load(rq, p, now);