Use LP_OP(cmp) on NWAITERS
This commit is contained in:
parent
6cae4b26ca
commit
5f658cf147
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user