aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/sched.c
diff options
context:
space:
mode:
authorDima Zavin <dima@android.com>2011-07-07 20:27:59 -0400
committerIngo Molnar <mingo@elte.hu>2011-07-08 08:02:53 -0400
commit732375c6a5a4cc825b676c922d547aba96b8ce15 (patch)
tree35002255d0e52ad478ffa7134b73c35452c502a0 /kernel/sched.c
parent8edbb83e5bc3c7d5d76861fc61872105288d2610 (diff)
plist: Remove the need to supply locks to plist heads
This was legacy code brought over from the RT tree and is no longer necessary. Signed-off-by: Dima Zavin <dima@android.com> Acked-by: Thomas Gleixner <tglx@linutronix.de> Cc: Daniel Walker <dwalker@codeaurora.org> Cc: Steven Rostedt <rostedt@goodmis.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Andi Kleen <andi@firstfloor.org> Cc: Lai Jiangshan <laijs@cn.fujitsu.com> Link: http://lkml.kernel.org/r/1310084879-10351-2-git-send-email-dima@android.com Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel/sched.c')
-rw-r--r--kernel/sched.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/sched.c b/kernel/sched.c
index 3f2e502d609b..71bc127e96ba 100644
--- a/kernel/sched.c
+++ b/kernel/sched.c
@@ -7781,7 +7781,7 @@ static void init_rt_rq(struct rt_rq *rt_rq, struct rq *rq)
7781#ifdef CONFIG_SMP 7781#ifdef CONFIG_SMP
7782 rt_rq->rt_nr_migratory = 0; 7782 rt_rq->rt_nr_migratory = 0;
7783 rt_rq->overloaded = 0; 7783 rt_rq->overloaded = 0;
7784 plist_head_init_raw(&rt_rq->pushable_tasks, &rq->lock); 7784 plist_head_init(&rt_rq->pushable_tasks);
7785#endif 7785#endif
7786 7786
7787 rt_rq->rt_time = 0; 7787 rt_rq->rt_time = 0;
@@ -7986,7 +7986,7 @@ void __init sched_init(void)
7986#endif 7986#endif
7987 7987
7988#ifdef CONFIG_RT_MUTEXES 7988#ifdef CONFIG_RT_MUTEXES
7989 plist_head_init_raw(&init_task.pi_waiters, &init_task.pi_lock); 7989 plist_head_init(&init_task.pi_waiters);
7990#endif 7990#endif
7991 7991
7992 /* 7992 /*