projects
/
platform
/
upstream
/
glibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9465949
)
(__lll_test_and_set): Fix typos.
author
Roland McGrath
<roland@gnu.org>
Wed, 19 Mar 2003 09:08:47 +0000
(09:08 +0000)
committer
Roland McGrath
<roland@gnu.org>
Wed, 19 Mar 2003 09:08:47 +0000
(09:08 +0000)
nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
patch
|
blob
|
history
diff --git
a/nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
b/nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
index
4ffbf8d
..
716949c
100644
(file)
--- 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) \