aboutsummaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorPeter Zijlstra <a.p.zijlstra@chello.nl>2008-06-19 03:06:56 -0400
committerIngo Molnar <mingo@elte.hu>2008-06-19 03:06:56 -0400
commit7ea56616ba6b3d67a4892728182e38ae162ea3e7 (patch)
treeeec572cd1901ec4081959942f9a56a2efedc4eed /kernel
parent49307fd6f72bdd68cc2bd23e7da0bcfecf8087c9 (diff)
sched: rt-group: fix hierarchy
Don't re-set the entity's runqueue to the wrong rq after we've set it to the right one. Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl> Tested-by: Daniel K. <dk@uw.no> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel')
-rw-r--r--kernel/sched.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/kernel/sched.c b/kernel/sched.c
index 320e9a43d4cc..ce375cb551e9 100644
--- a/kernel/sched.c
+++ b/kernel/sched.c
@@ -7628,7 +7628,6 @@ static void init_tg_rt_entry(struct task_group *tg, struct rt_rq *rt_rq,
7628 else 7628 else
7629 rt_se->rt_rq = parent->my_q; 7629 rt_se->rt_rq = parent->my_q;
7630 7630
7631 rt_se->rt_rq = &rq->rt;
7632 rt_se->my_q = rt_rq; 7631 rt_se->my_q = rt_rq;
7633 rt_se->parent = parent; 7632 rt_se->parent = parent;
7634 INIT_LIST_HEAD(&rt_se->run_list); 7633 INIT_LIST_HEAD(&rt_se->run_list);