[ltt-dev] [PATCH 06/11] remove compat_uatomic_cmpxchg #define from non-x86
Mathieu Desnoyers
compudj at krystal.dyndns.org
Sun Feb 14 09:38:47 EST 2010
* Paolo Bonzini (pbonzini at redhat.com) wrote:
> This is unused everywhere except on x86.
Acked-by: Mathieu Desnoyers <mathieu.desnoyers at efficios.com>
>
> Signed-off-by: Paolo Bonzini <pbonzini at redhat.com>
> ---
> urcu/uatomic_arch_ppc.h | 2 --
> urcu/uatomic_arch_s390.h | 2 --
> urcu/uatomic_arch_sparc64.h | 2 --
> 3 files changed, 0 insertions(+), 6 deletions(-)
>
> diff --git a/urcu/uatomic_arch_ppc.h b/urcu/uatomic_arch_ppc.h
> index e0a06b8..7106b99 100644
> --- a/urcu/uatomic_arch_ppc.h
> +++ b/urcu/uatomic_arch_ppc.h
> @@ -227,8 +227,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 ee88795..6247601 100644
> --- a/urcu/uatomic_arch_s390.h
> +++ b/urcu/uatomic_arch_s390.h
> @@ -210,8 +210,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 6978490..e984986 100644
> --- a/urcu/uatomic_arch_sparc64.h
> +++ b/urcu/uatomic_arch_sparc64.h
> @@ -171,8 +171,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
> --
> 1.6.6
>
>
>
> _______________________________________________
> ltt-dev mailing list
> ltt-dev at lists.casi.polymtl.ca
> http://lists.casi.polymtl.ca/cgi-bin/mailman/listinfo/ltt-dev
>
--
Mathieu Desnoyers
OpenPGP key fingerprint: 8CD5 52C3 8E3C 4140 715F BA06 3F25 A8FE 3BAE 9A68
More information about the lttng-dev
mailing list