aboutsummaryrefslogtreecommitdiff
path: root/sysdeps
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@suse.de>2003-03-25 23:41:38 +0000
committerAndreas Schwab <schwab@suse.de>2003-03-25 23:41:38 +0000
commit9fdf211e6866677d67167ba7a77ac4798fe5cb1d (patch)
tree6e5f29f1b47605a218a3ae7f266e4baf0a66e41f /sysdeps
parentfb0216ddd6890c182415c61fc22ded33b9e78a77 (diff)
downloadglibc-9fdf211e6866677d67167ba7a77ac4798fe5cb1d.tar
glibc-9fdf211e6866677d67167ba7a77ac4798fe5cb1d.tar.gz
glibc-9fdf211e6866677d67167ba7a77ac4798fe5cb1d.tar.bz2
glibc-9fdf211e6866677d67167ba7a77ac4798fe5cb1d.zip
*** empty log message ***
* sysdeps/m68k/m68020/bits/atomic.h: Fix typos. * include/atomic.h: Likewise.
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/m68k/m68020/bits/atomic.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/m68k/m68020/bits/atomic.h b/sysdeps/m68k/m68020/bits/atomic.h
index 09c33c19c8..80b5b8f3bf 100644
--- 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" (newvalue), "r" (__memp), \
"r" ((char *) __memp + 4), "0" (__result) \
: "memory"); \
} \
@@ -195,7 +195,7 @@ typedef uintmax_t uatomic_max_t;
: "1" (*(mem))); \
else \
{ \
- __typef (mem) __memp = (mem); \
+ __typeof (mem) __memp = (mem); \
__typeof (*(mem)) __oldval = *__memp; \
__typeof (*(mem)) __temp; \
__asm __volatile ("1: move%.l %1,%2;" \