From: Paolo Bonzini Date: Thu, 9 Jun 2011 16:54:38 +0000 (-0400) Subject: arm: remove useless declarations X-Git-Tag: v0.6.0~23 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=e9518ec6e963c8f0a54ee3325a8d5e98cde65c5c;p=urcu.git arm: remove useless declarations Signed-off-by: Paolo Bonzini Acked-by: Paul E. McKenney Signed-off-by: Mathieu Desnoyers --- diff --git a/urcu/uatomic_arch_arm.h b/urcu/uatomic_arch_arm.h index bcd21d2..fee3040 100644 --- a/urcu/uatomic_arch_arm.h +++ b/urcu/uatomic_arch_arm.h @@ -34,13 +34,6 @@ extern "C" { /* xchg */ #define uatomic_xchg(addr, v) __sync_lock_test_and_set(addr, v) -/* cmpxchg */ -#define uatomic_cmpxchg(addr, old, _new) \ - __sync_val_compare_and_swap(addr, old, _new) - -/* uatomic_add_return */ -#define uatomic_add_return(addr, v) __sync_add_and_fetch(addr, v) - #ifdef __cplusplus } #endif