diff options
author | Michael Wang <wangyun@linux.vnet.ibm.com> | 2013-06-04 10:23:39 +0400 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2013-06-19 14:58:41 +0400 |
commit | 22b958d8cc5127d22d2ad2141277d312d93fad6c (patch) | |
tree | 0edb2f492fbe1ad56cafd4a3c79124955cc0a679 /kernel/sched | |
parent | e23ee74777f389369431d77390c4b09332ce026a (diff) | |
download | linux-22b958d8cc5127d22d2ad2141277d312d93fad6c.tar.xz |
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.c | 2 |
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; |