diff options
author | Ulrich Drepper <drepper@redhat.com> | 2004-02-18 20:02:17 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2004-02-18 20:02:17 +0000 |
commit | 4a08113c4ee0ec9f83ef2ae8a4c5893e80d451f7 (patch) | |
tree | 08aaf2a509ca6c29aa4b047d180e0f5fe563daab /nptl/sysdeps/unix | |
parent | ec1c80750db1d19f40bd3a3bd575cbed6845069c (diff) | |
download | glibc-4a08113c4ee0ec9f83ef2ae8a4c5893e80d451f7.tar.gz glibc-4a08113c4ee0ec9f83ef2ae8a4c5893e80d451f7.tar.xz glibc-4a08113c4ee0ec9f83ef2ae8a4c5893e80d451f7.zip |
Update.
2004-02-18 Jakub Jelinek <jakub@redhat.com> * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S (__pthread_rwlock_unlock): Access WRITER as 32-bit value. * Makefile (tests): Add tst-rwlock13. * tst-rwlock13.c: New test.
Diffstat (limited to 'nptl/sysdeps/unix')
-rw-r--r-- | nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S b/nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S index 89652cc5d7..ac69fc0eae 100644 --- a/nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S +++ b/nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S @@ -49,12 +49,12 @@ __pthread_rwlock_unlock: #endif jnz 1f -2: cmpq $0, WRITER(%rdi) +2: cmpl $0, WRITER(%rdi) jne 5f decl NR_READERS(%rdi) jnz 6f -5: movq $0, WRITER(%rdi) +5: movl $0, WRITER(%rdi) movq $1, %rsi leaq WRITERS_WAKEUP(%rdi), %r10 |