Skip to content

Commit

Permalink
sched: CONFIG_SCHED_GROUP_FAIR=y fixlet
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Bruce Ashfield authored and Ingo Molnar committed Aug 24, 2007
1 parent 1a8f461 commit 7c6c16f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kernel/sched_fair.c
Original file line number Diff line number Diff line change
Expand Up @@ -1057,7 +1057,7 @@ static void task_new_fair(struct rq *rq, struct task_struct *p)
*/
static void set_curr_task_fair(struct rq *rq)
{
struct sched_entity *se = &rq->curr.se;
struct sched_entity *se = &rq->curr->se;

for_each_sched_entity(se)
set_next_entity(cfs_rq_of(se), se);
Expand Down

0 comments on commit 7c6c16f

Please sign in to comment.