summaryrefslogtreecommitdiffstats
path: root/kernel/sched
diff options
context:
space:
mode:
authorMichael Wang <wangyun@linux.vnet.ibm.com>2013-06-04 14:23:39 +0800
committerIngo Molnar <mingo@kernel.org>2013-06-19 12:58:41 +0200
commit22b958d8cc5127d22d2ad2141277d312d93fad6c (patch)
tree0edb2f492fbe1ad56cafd4a3c79124955cc0a679 /kernel/sched
parente23ee74777f389369431d77390c4b09332ce026a (diff)
downloadlinux-22b958d8cc5127d22d2ad2141277d312d93fad6c.tar.bz2
sched: Refine the code in unthrottle_cfs_rq()
Directly use rq to save some code. Signed-off-by: Michael Wang <wangyun@linux.vnet.ibm.com> Signed-off-by: Peter Zijlstra <peterz@infradead.org> Link: http://lkml.kernel.org/r/51AD87EB.1070605@linux.vnet.ibm.com Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'kernel/sched')
-rw-r--r--kernel/sched/fair.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c
index 143dcdbc47af..47a30be1fe83 100644
--- a/kernel/sched/fair.c
+++ b/kernel/sched/fair.c
@@ -2315,7 +2315,7 @@ void unthrottle_cfs_rq(struct cfs_rq *cfs_rq)
int enqueue = 1;
long task_delta;
- se = cfs_rq->tg->se[cpu_of(rq_of(cfs_rq))];
+ se = cfs_rq->tg->se[cpu_of(rq)];
cfs_rq->throttled = 0;