projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
35ae834
)
[PATCH] initialise pi_lock if CONFIG_RT_MUTEXES=N
author
Zilvinas Valinskas
<zilvinas@wilibox.com>
Fri, 16 Mar 2007 21:38:34 +0000
(13:38 -0800)
committer
Linus Torvalds
<torvalds@woody.linux-foundation.org>
Sat, 17 Mar 2007 02:25:06 +0000
(19:25 -0700)
Fixes a bogus lockdep warning which causes lockdep to disable itself.
Acked-by: Ingo Molnar <mingo@elte.hu>
Cc: <stable@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
kernel/fork.c
patch
|
blob
|
blame
|
history
diff --git
a/kernel/fork.c
b/kernel/fork.c
index d154cc786489f3928bbaefe5d31e8da4f78b2481..6af959c034d892a360f4196ed3b981a51890f92a 100644
(file)
--- a/
kernel/fork.c
+++ b/
kernel/fork.c
@@
-933,8
+933,8
@@
asmlinkage long sys_set_tid_address(int __user *tidptr)
static inline void rt_mutex_init_task(struct task_struct *p)
{
-#ifdef CONFIG_RT_MUTEXES
spin_lock_init(&p->pi_lock);
+#ifdef CONFIG_RT_MUTEXES
plist_head_init(&p->pi_waiters, &p->pi_lock);
p->pi_blocked_on = NULL;
#endif