mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 10:41:38 -04:00
sched: Refine the code in unthrottle_cfs_rq()
Directly use rq to save some code. Signed-off-by: Michael Wang <[email protected]> Signed-off-by: Peter Zijlstra <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Ingo Molnar <[email protected]>
This commit is contained in:
parent
e23ee74777
commit
22b958d8cc
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue