projects
/
external
/
glibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9219434
)
(atomic_exchange_acq): Renamed from atomic_exchange.
author
Ulrich Drepper
<drepper@redhat.com>
Sat, 10 May 2003 05:29:30 +0000
(
05:29
+0000)
committer
Ulrich Drepper
<drepper@redhat.com>
Sat, 10 May 2003 05:29:30 +0000
(
05:29
+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
6978b27
..
bbffc52
100644
(file)
--- a/
sysdeps/m68k/m68020/bits/atomic.h
+++ b/
sysdeps/m68k/m68020/bits/atomic.h
@@
-76,7
+76,7
@@
typedef uintmax_t uatomic_max_t;
: "memory"); \
__ret; })
-#define atomic_exchange(mem, newvalue) \
+#define atomic_exchange
_acq
(mem, newvalue) \
({ __typeof (*(mem)) __result = *(mem); \
if (sizeof (*(mem)) == 1) \
__asm __volatile ("1: cas%.b %0,%2,%1;" \