summaryrefslogtreecommitdiff
path: root/libatomic/gcas.c
diff options
context:
space:
mode:
Diffstat (limited to 'libatomic/gcas.c')
-rw-r--r--libatomic/gcas.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libatomic/gcas.c b/libatomic/gcas.c
index edbf611f1b4..e3d77f3f558 100644
--- a/libatomic/gcas.c
+++ b/libatomic/gcas.c
@@ -32,7 +32,7 @@
# define EXACT_INLINE(N) \
if (C2(HAVE_ATOMIC_CAS_,N)) \
return __atomic_compare_exchange_n \
- (PTR(N,mptr), PTR(N,eptr), *PTR(N,dptr), false, smodel, fmodel)
+ (PTR(N,mptr), PTR(N,eptr), *PTR(N,dptr), false, __ATOMIC_SEQ_CST, __ATOMIC_SEQ_CST)
#else
# define EXACT_INLINE(N)
#endif