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:
64928a8
)
Fix typos.
author
Andreas Schwab
<schwab@suse.de>
Tue, 25 Mar 2003 23:40:18 +0000
(23:40 +0000)
committer
Andreas Schwab
<schwab@suse.de>
Tue, 25 Mar 2003 23:40:18 +0000
(23:40 +0000)
sysdeps/m68k/m68020/bits/atomic.h
patch
|
blob
|
history
diff --git
a/sysdeps/m68k/m68020/bits/atomic.h
b/sysdeps/m68k/m68020/bits/atomic.h
index
09c33c1
..
80b5b8f
100644
(file)
--- a/
sysdeps/m68k/m68020/bits/atomic.h
+++ b/
sysdeps/m68k/m68020/bits/atomic.h
@@
-99,7
+99,7
@@
typedef uintmax_t uatomic_max_t;
__asm __volatile ("1: cas2%.l %0:%R0,%1:%R1,(%2):(%3);" \
" jbne 1b" \
: "=d" (__result) \
- : "d" (newval
), "r" (__memp),
\
+ : "d" (newval
ue), "r" (__memp),
\
"r" ((char *) __memp + 4), "0" (__result) \
: "memory"); \
} \
@@
-195,7
+195,7
@@
typedef uintmax_t uatomic_max_t;
: "1" (*(mem))); \
else \
{ \
- __type
f (mem) __memp = (mem);
\
+ __type
of (mem) __memp = (mem);
\
__typeof (*(mem)) __oldval = *__memp; \
__typeof (*(mem)) __temp; \
__asm __volatile ("1: move%.l %1,%2;" \