1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-12-24 17:51:17 +03:00

Use LP_OP(cmp) on NWAITERS

This commit is contained in:
H.J. Lu
2012-05-15 10:25:51 -07:00
parent 6cae4b26ca
commit 5f658cf147
2 changed files with 6 additions and 1 deletions

View File

@@ -1,3 +1,8 @@
2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
* sysdeps/unix/sysv/linux/x86_64/sem_post.S: Use LP_OP(cmp) on
NWAITERS, which is unsigned long int.
2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
* sysdeps/unix/sysv/linux/x86_64/pthread_once.S

View File

@@ -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