]> git.karo-electronics.de Git - karo-tx-linux.git/commit
futex: Use same lock set as lws calls
authorJohn David Anglin <dave@hiauly1.hia.nrc.ca>
Sun, 9 Oct 2011 20:40:10 +0000 (16:40 -0400)
committerJames Bottomley <JBottomley@Parallels.com>
Mon, 10 Oct 2011 18:19:06 +0000 (13:19 -0500)
commitfc99a914318c60cc9fa9c7347529f4e07dec67d8
tree8810aa0bc88ebe23e1953eb82e1db78d67049b2a
parent65112dccf8a113737684366349d7f9ec373ddc47
futex: Use same lock set as lws calls

In debugging the failure of the glibc tst-cond18 test on parisc, I realized
that futexes need to use the same locks the lws calls.  This fixes all the
pthread 'cond' tests.  Sadly, there are still problems with thread cancellation.

[jejb: checkpatch fixes]
Signed-off-by: John David Anglin <dave.anglin@bell.net>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
arch/parisc/include/asm/futex.h