diff options
author | Bruce Ashfield <bruce.ashfield@windriver.com> | 2007-08-24 14:39:10 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2007-08-24 14:39:10 -0400 |
commit | 7c6c16f354cde4a48bd305b2587fc78257bcb936 (patch) | |
tree | 027af5f5baceb2c1b9c11720c6cae6cc3df44c48 /kernel/sched_fair.c | |
parent | 1a8f46100b657f533ce677e79bc27c6794c91c46 (diff) |
sched: CONFIG_SCHED_GROUP_FAIR=y fixlet
when I built with CONFIG_FAIR_GROUP_SCHED=y, I need the following change
to make things right.
[ From: mingo@elte.hu ]
this config option is not upstream-configurable right now but lets fix
this for completeness.
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel/sched_fair.c')
-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); |