diff options
author | Dima Zavin <dima@android.com> | 2011-07-07 17:27:59 -0700 |
---|---|---|
committer | Dima Zavin <dima@android.com> | 2011-07-08 14:15:44 -0700 |
commit | 0226f8a76da6bc97c9bb4af3fd2f6eeb03c5b0b0 (patch) | |
tree | 103470d3c4a2865d1cafc4d4527f97d62660fc5d /kernel/rtmutex.c | |
parent | 814cdea670616252e4cdf297a07b02ce59698bf1 (diff) | |
download | kernel_samsung_crespo-0226f8a76da6bc97c9bb4af3fd2f6eeb03c5b0b0.zip kernel_samsung_crespo-0226f8a76da6bc97c9bb4af3fd2f6eeb03c5b0b0.tar.gz kernel_samsung_crespo-0226f8a76da6bc97c9bb4af3fd2f6eeb03c5b0b0.tar.bz2 |
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/rtmutex.c')
-rw-r--r-- | kernel/rtmutex.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/rtmutex.c b/kernel/rtmutex.c index ab44911..255e166 100644 --- a/kernel/rtmutex.c +++ b/kernel/rtmutex.c @@ -890,7 +890,7 @@ void __rt_mutex_init(struct rt_mutex *lock, const char *name) { lock->owner = NULL; raw_spin_lock_init(&lock->wait_lock); - plist_head_init_raw(&lock->wait_list, &lock->wait_lock); + plist_head_init(&lock->wait_list); debug_rt_mutex_init(lock, name); } |