mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-22 10:50:07 +00:00
*** empty log message ***
* sysdeps/m68k/m68020/bits/atomic.h: Fix typos. * include/atomic.h: Likewise.
This commit is contained in:
parent
fb0216ddd6
commit
9fdf211e68
@ -1,5 +1,8 @@
|
||||
2003-03-26 Andreas Schwab <schwab@suse.de>
|
||||
|
||||
* sysdeps/m68k/m68020/bits/atomic.h: Fix typos.
|
||||
* include/atomic.h: Likewise.
|
||||
|
||||
* sysdeps/unix/sysv/linux/m68k/sysdep.h: Define ret_NOERRNO.
|
||||
|
||||
2003-03-25 Roland McGrath <roland@redhat.com>
|
||||
|
@ -190,7 +190,7 @@
|
||||
#ifndef atomic_add_negative
|
||||
# define atomic_add_negative(mem, value) \
|
||||
({ __typeof (value) __value = (value); \
|
||||
atomic_exchange_and_add ((mem), __value) < -__value); })
|
||||
atomic_exchange_and_add ((mem), __value) < -__value; })
|
||||
#endif
|
||||
|
||||
|
||||
|
@ -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;" \
|
||||
|
Loading…
Reference in New Issue
Block a user