Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=7c6c16f354cde4a48bd305b2587fc78257bcb936
Commit:     7c6c16f354cde4a48bd305b2587fc78257bcb936
Parent:     1a8f46100b657f533ce677e79bc27c6794c91c46
Author:     Bruce Ashfield <[EMAIL PROTECTED]>
AuthorDate: Fri Aug 24 20:39:10 2007 +0200
Committer:  Ingo Molnar <[EMAIL PROTECTED]>
CommitDate: Fri Aug 24 20:39:10 2007 +0200

    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: [EMAIL PROTECTED] ]
    
    this config option is not upstream-configurable right now but lets fix
    this for completeness.
    
    Signed-off-by: Bruce Ashfield <[EMAIL PROTECTED]>
    Signed-off-by: Ingo Molnar <[EMAIL PROTECTED]>
---
 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 fedbb51..b5270dc 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)
  */
 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);
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to