aboutsummaryrefslogtreecommitdiff
path: root/libatomic/gexch.c
diff options
context:
space:
mode:
Diffstat (limited to 'libatomic/gexch.c')
-rw-r--r--libatomic/gexch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libatomic/gexch.c b/libatomic/gexch.c
index 1999067df18..c8c86587bc2 100644
--- a/libatomic/gexch.c
+++ b/libatomic/gexch.c
@@ -33,7 +33,7 @@
if (C2(HAVE_ATOMIC_EXCHANGE_,N)) \
{ \
*PTR(N,rptr) = __atomic_exchange_n \
- (PTR(N,mptr), *PTR(N,vptr), smodel); \
+ (PTR(N,mptr), *PTR(N,vptr), __ATOMIC_SEQ_CST); \
return; \
}
#else