OSDN Git Service
(root)
/
uclinux-h8
/
linux.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
|
history
diff --git
a/kernel/fork.c
b/kernel/fork.c
index
d154cc7
..
6af959c
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