diff options
-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 fedbb51bba96..b5270dc98bef 100644 --- a/kernel/sched_fair.c +++ b/kernel/sched_fair.c | |||
@@ -1057,7 +1057,7 @@ static void task_new_fair(struct rq *rq, struct task_struct *p) | |||
1057 | */ | 1057 | */ |
1058 | static void set_curr_task_fair(struct rq *rq) | 1058 | static void set_curr_task_fair(struct rq *rq) |
1059 | { | 1059 | { |
1060 | struct sched_entity *se = &rq->curr.se; | 1060 | struct sched_entity *se = &rq->curr->se; |
1061 | 1061 | ||
1062 | for_each_sched_entity(se) | 1062 | for_each_sched_entity(se) |
1063 | set_next_entity(cfs_rq_of(se), se); | 1063 | set_next_entity(cfs_rq_of(se), se); |