about summary refs log tree commit diff
path: root/nptl/sysdeps
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2007-09-02 16:53:13 +0000
committerUlrich Drepper <drepper@redhat.com>2007-09-02 16:53:13 +0000
commit221d9d8e76d5a151ca2fd1829c16a60c5eec8a8b (patch)
tree2d3d95af214c178b1e4c9242a7be26e58dff8eed /nptl/sysdeps
parentde4d8563645b6bd6e8085a2e29b1f6e04bf7058c (diff)
downloadglibc-221d9d8e76d5a151ca2fd1829c16a60c5eec8a8b.tar.gz
glibc-221d9d8e76d5a151ca2fd1829c16a60c5eec8a8b.tar.xz
glibc-221d9d8e76d5a151ca2fd1829c16a60c5eec8a8b.zip
* sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
	(__pthread_cond_wait): Fix unlocking of internal lock after mutex
	unlocking failed.
	Patch by Luca Barbieri <luca.barbieri@gmail.com>.
Diffstat (limited to 'nptl/sysdeps')
-rw-r--r--nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S b/nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
index 2c17dc03a2..e5e802d531 100644
--- a/nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
+++ b/nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
@@ -401,7 +401,7 @@ __pthread_cond_wait:
 #else
 	decl	cond_lock(%rdi)
 #endif
-	jne	13f
+	je	13f
 
 #if cond_lock != 0
 	addq	$cond_lock, %rdi