git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
mm: add /proc controls for pdflush threads
[safe/jmp/linux-2.6]
/
kernel
/
futex.c
diff --git
a/kernel/futex.c
b/kernel/futex.c
index
2331b73
..
6b50a02
100644
(file)
--- a/
kernel/futex.c
+++ b/
kernel/futex.c
@@
-659,7
+659,8
@@
static inline void
double_unlock_hb(struct futex_hash_bucket *hb1, struct futex_hash_bucket *hb2)
{
spin_unlock(&hb1->lock);
- spin_unlock(&hb2->lock);
+ if (hb1 != hb2)
+ spin_unlock(&hb2->lock);
}
/*