From: Ingo Molnar Date: Thu, 2 Aug 2007 15:41:40 +0000 (+0200) Subject: [PATCH] sched: uninline inc/dec_nr_running() X-Git-Tag: v2.6.23-rc2~13^2~6 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=4e6f96f313561d86d248edf0eaff2336d8217e1b;p=linux-2.6-omap-h63xx.git [PATCH] sched: uninline inc/dec_nr_running() uninline inc_nr_running() and dec_nr_running(): text data bss dec hex filename 29039 4162 24 33225 81c9 sched.o.before 29027 4162 24 33213 81bd sched.o.after Signed-off-by: Ingo Molnar --- diff --git a/kernel/sched.c b/kernel/sched.c index ff4aa17d65c..7bed2c58b98 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) update_load_sub(&rq->ls.load, p->se.load.weight); } -static inline void inc_nr_running(struct task_struct *p, struct rq *rq, u64 now) +static void inc_nr_running(struct task_struct *p, struct rq *rq, u64 now) { rq->nr_running++; inc_load(rq, p, now); } -static inline 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, u64 now) { rq->nr_running--; dec_load(rq, p, now);