aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/sched_fair.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/sched_fair.c')
-rw-r--r--kernel/sched_fair.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/kernel/sched_fair.c b/kernel/sched_fair.c
index 12ab9338d563..144f3ef97380 100644
--- a/kernel/sched_fair.c
+++ b/kernel/sched_fair.c
@@ -984,6 +984,10 @@ static void set_curr_task_fair(struct rq *rq)
984#else 984#else
985static void set_curr_task_fair(struct rq *rq) 985static void set_curr_task_fair(struct rq *rq)
986{ 986{
987 struct sched_entity *se = &rq->curr->se;
988 struct cfs_rq *cfs_rq = cfs_rq_of(se);
989
990 cfs_rq->curr = se;
987} 991}
988#endif 992#endif
989 993