From 5f658cf1473dc9d2daffdc28fa8480258967d0c4 Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Tue, 15 May 2012 10:25:51 -0700 Subject: Use LP_OP(cmp) on NWAITERS --- nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nptl/sysdeps/unix') 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 -- cgit v1.2.3