aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/sched.c
diff options
context:
space:
mode:
authorPeter Zijlstra <a.p.zijlstra@chello.nl>2008-01-25 15:08:27 -0500
committerIngo Molnar <mingo@elte.hu>2008-01-25 15:08:27 -0500
commitfa717060f1ab7eb6570f2fb49136f838fc9195a9 (patch)
tree0338460dae3116563645e3bfa1ff5100d39826f8 /kernel/sched.c
parent8eb703e4f33488bf75829564d51d427e17f7cd4c (diff)
sched: sched_rt_entity
Move the task_struct members specific to rt scheduling together. A future optimization could be to put sched_entity and sched_rt_entity into a union. Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl> CC: Srivatsa Vaddagiri <vatsa@linux.vnet.ibm.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel/sched.c')
-rw-r--r--kernel/sched.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/sched.c b/kernel/sched.c
index 02d468844a91..c2cedd09d895 100644
--- a/kernel/sched.c
+++ b/kernel/sched.c
@@ -1685,7 +1685,7 @@ static void __sched_fork(struct task_struct *p)
1685 p->se.wait_max = 0; 1685 p->se.wait_max = 0;
1686#endif 1686#endif
1687 1687
1688 INIT_LIST_HEAD(&p->run_list); 1688 INIT_LIST_HEAD(&p->rt.run_list);
1689 p->se.on_rq = 0; 1689 p->se.on_rq = 0;
1690 1690
1691#ifdef CONFIG_PREEMPT_NOTIFIERS 1691#ifdef CONFIG_PREEMPT_NOTIFIERS