[ltt-dev] [PATCH 05/12] remove compat_uatomic_cmpxchg #define from non-x86
Mathieu Desnoyers
compudj at krystal.dyndns.org
Mon Mar 1 13:54:17 EST 2010
* Paolo Bonzini (pbonzini at redhat.com) wrote:
> This is unused everywhere except on x86.
>
Merged, thanks!
Mathieu
> Signed-off-by: Paolo Bonzini <pbonzini at redhat.com>
> Acked-by: Mathieu Desnoyers <mathieu.desnoyers at efficios.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 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
> --
> 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
Operating System Efficiency Consultant
EfficiOS Inc.
http://www.efficios.com
More information about the lttng-dev
mailing list