diff options
Diffstat (limited to 'kernel/sched_fair.c')
-rw-r--r-- | kernel/sched_fair.c | 4 |
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 |
985 | static void set_curr_task_fair(struct rq *rq) | 985 | static 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 | ||