aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/s390/atomic-machine.h
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/s390/atomic-machine.h')
-rw-r--r--sysdeps/s390/atomic-machine.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sysdeps/s390/atomic-machine.h b/sysdeps/s390/atomic-machine.h
index 690d2e3065..adaca40798 100644
--- a/sysdeps/s390/atomic-machine.h
+++ b/sysdeps/s390/atomic-machine.h
@@ -67,6 +67,8 @@ typedef uintmax_t uatomic_max_t;
# define __HAVE_64B_ATOMICS 0
#endif
+#define ATOMIC_EXCHANGE_USES_CAS 1
+
/* Implement some of the non-C11 atomic macros from include/atomic.h
with help of the C11 atomic builtins. The other non-C11 atomic macros
are using the macros defined here. */