diff options
author | Dima Zavin <dima@android.com> | 2011-07-07 17:27:59 -0700 |
---|---|---|
committer | Huang Shijie <b32955@freescale.com> | 2012-02-28 19:03:27 +0800 |
commit | 15273b08dbadbdf43608d9a86e970b9744eeb3c4 (patch) | |
tree | f09e9858066c1a6ac38d92a0ab70941e842f3edc /kernel/futex.c | |
parent | 50eb40fd3c55abb2dcafe12d6bef2bb5cbf6837c (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/futex.c')
-rw-r--r-- | kernel/futex.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/futex.c b/kernel/futex.c index 8b6da250723d..11cbe052b2e8 100644 --- a/kernel/futex.c +++ b/kernel/futex.c @@ -2727,7 +2727,7 @@ static int __init futex_init(void) futex_cmpxchg_enabled = 1; for (i = 0; i < ARRAY_SIZE(futex_queues); i++) { - plist_head_init(&futex_queues[i].chain, &futex_queues[i].lock); + plist_head_init(&futex_queues[i].chain); spin_lock_init(&futex_queues[i].lock); } |