about summary refs log tree commit diff
path: root/include/atomic.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/atomic.h')
-rw-r--r--include/atomic.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/atomic.h b/include/atomic.h
index 3063037e0d..017a8455d7 100644
--- a/include/atomic.h
+++ b/include/atomic.h
@@ -50,7 +50,7 @@
 
 #ifndef atomic_compare_and_exchange_bool_acq
 # ifdef __arch_compare_and_exchange_bool_32_acq
-#  define atomic_compare_and_exchange_val_acq(mem, newval, oldval) \
+#  define atomic_compare_and_exchange_bool_acq(mem, newval, oldval) \
   ({ __typeof (__arch_compare_and_exchange_bool_32_acq (mem, 0, 0)) __result; \
      if (sizeof (*mem) == 1)						      \
        __result = __arch_compare_and_exchange_bool_8_acq (mem, newval,	      \