From: Paolo Bonzini Date: Mon, 1 Mar 2010 18:53:51 +0000 (-0500) Subject: remove compat_uatomic_cmpxchg #define from non-x86 X-Git-Tag: v0.4.2~16 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=35cb42646126bb629dadfe1a16f11124a1c8922c;p=urcu.git remove compat_uatomic_cmpxchg #define from non-x86 This is unused everywhere except on x86. Signed-off-by: Paolo Bonzini Signed-off-by: Mathieu Desnoyers --- diff --git a/urcu/uatomic_arch_ppc.h b/urcu/uatomic_arch_ppc.h index 2322c97..8da192e 100644 --- a/urcu/uatomic_arch_ppc.h +++ b/urcu/uatomic_arch_ppc.h @@ -235,8 +235,6 @@ unsigned long _uatomic_add_return(void *addr, unsigned long val, #define uatomic_inc(addr) uatomic_add((addr), 1) #define uatomic_dec(addr) uatomic_add((addr), -1) -#define compat_uatomic_cmpxchg(ptr, old, _new) uatomic_cmpxchg(ptr, old, _new) - #ifdef __cplusplus } #endif diff --git a/urcu/uatomic_arch_s390.h b/urcu/uatomic_arch_s390.h index fdfabfd..614867f 100644 --- a/urcu/uatomic_arch_s390.h +++ b/urcu/uatomic_arch_s390.h @@ -218,8 +218,6 @@ unsigned long _uatomic_add_return(void *addr, unsigned long val, int len) #define uatomic_inc(addr) uatomic_add((addr), 1) #define uatomic_dec(addr) uatomic_add((addr), -1) -#define compat_uatomic_cmpxchg(ptr, old, _new) uatomic_cmpxchg(ptr, old, _new) - #ifdef __cplusplus } #endif diff --git a/urcu/uatomic_arch_sparc64.h b/urcu/uatomic_arch_sparc64.h index 3aa3b7d..d443d4f 100644 --- a/urcu/uatomic_arch_sparc64.h +++ b/urcu/uatomic_arch_sparc64.h @@ -179,8 +179,6 @@ unsigned long _uatomic_add_return(void *addr, unsigned long val, int len) #define uatomic_inc(addr) uatomic_add((addr), 1) #define uatomic_dec(addr) uatomic_add((addr), -1) -#define compat_uatomic_cmpxchg(ptr, old, _new) uatomic_cmpxchg(ptr, old, _new) - #ifdef __cplusplus } #endif