aboutsummaryrefslogtreecommitdiff
path: root/nptl/sysdeps/unix
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2003-03-19 09:08:47 +0000
committerRoland McGrath <roland@gnu.org>2003-03-19 09:08:47 +0000
commitca341eb2bd82a17dc9042e9669a7db181d6ceb29 (patch)
tree57094bef96f2b16dc05d45b49cf7b3abd038efc8 /nptl/sysdeps/unix
parent9465949559fde25c36ce7116e92c8f256b08ad53 (diff)
downloadglibc-ca341eb2bd82a17dc9042e9669a7db181d6ceb29.tar
glibc-ca341eb2bd82a17dc9042e9669a7db181d6ceb29.tar.gz
glibc-ca341eb2bd82a17dc9042e9669a7db181d6ceb29.tar.bz2
glibc-ca341eb2bd82a17dc9042e9669a7db181d6ceb29.zip
(__lll_test_and_set): Fix typos.
Diffstat (limited to 'nptl/sysdeps/unix')
-rw-r--r--nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h b/nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
index 4ffbf8deb7..716949c9f3 100644
--- a/nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
+++ b/nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
@@ -103,8 +103,8 @@
#define __lll_test_and_set(futex, newval) \
({ int __val; \
__asm __volatile (__lll_rel_instr "\n" \
- "1: lwarx %0,0,%3\n" \
- " stwcx. %2,0,%3\n" \
+ "1: lwarx %0,0,%2\n" \
+ " stwcx. %3,0,%2\n" \
" bne- 1b" \
: "=&r" (__val), "=m" (*futex) \
: "r" (futex), "r" (newval), "1" (*futex) \