about summary refs log tree commit diff
path: root/sysdeps/x86_64/atomic-machine.h
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/x86_64/atomic-machine.h')
-rw-r--r--sysdeps/x86_64/atomic-machine.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sysdeps/x86_64/atomic-machine.h b/sysdeps/x86_64/atomic-machine.h
index 2e8a9aad04..c454734001 100644
--- a/sysdeps/x86_64/atomic-machine.h
+++ b/sysdeps/x86_64/atomic-machine.h
@@ -59,6 +59,7 @@ typedef uintmax_t uatomic_max_t;
 
 #define __HAVE_64B_ATOMICS 1
 #define USE_ATOMIC_COMPILER_BUILTINS 1
+#define ATOMIC_EXCHANGE_USES_CAS 0
 
 #define atomic_compare_and_exchange_val_acq(mem, newval, oldval) \
   __sync_val_compare_and_swap (mem, oldval, newval)