about summary refs log tree commit diff
path: root/nptl/sysdeps/unix
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2012-05-15 10:25:51 -0700
committerH.J. Lu <hjl.tools@gmail.com>2012-05-15 10:25:51 -0700
commit5f658cf1473dc9d2daffdc28fa8480258967d0c4 (patch)
tree8fa9fc9c94d08d3f449356ee18996e4c1c7f7b53 /nptl/sysdeps/unix
parent6cae4b26ca10528e765cfa72a76ad12aa6f05a3a (diff)
downloadglibc-5f658cf1473dc9d2daffdc28fa8480258967d0c4.tar.gz
glibc-5f658cf1473dc9d2daffdc28fa8480258967d0c4.tar.xz
glibc-5f658cf1473dc9d2daffdc28fa8480258967d0c4.zip
Use LP_OP(cmp) on NWAITERS
Diffstat (limited to 'nptl/sysdeps/unix')
-rw-r--r--nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S b/nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S
index 0e0898cbb8..65e715d2da 100644
--- a/nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S
+++ b/nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S
@@ -45,7 +45,7 @@ sem_post:
 #endif
 	jnz	0b
 
-	cmpq	$0, NWAITERS(%rdi)
+	LP_OP(cmp) $0, NWAITERS(%rdi)
 	je	2f
 
 	movl	$SYS_futex, %eax