[ltt-dev] [PATCH 03/10] uatomic: fix typo in x86 compat implementation

Mathieu Desnoyers compudj at krystal.dyndns.org
Wed Jun 8 18:10:46 EDT 2011


* Paolo Bonzini (pbonzini at redhat.com) wrote:
> 

Merged, thanks!

Mathieu

> Signed-off-by: Paolo Bonzini <pbonzini at redhat.com>
> ---
>  urcu/uatomic_arch_x86.h |    4 ++--
>  1 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/urcu/uatomic_arch_x86.h b/urcu/uatomic_arch_x86.h
> index aed513b..30418c8 100644
> --- a/urcu/uatomic_arch_x86.h
> +++ b/urcu/uatomic_arch_x86.h
> @@ -428,8 +428,8 @@ extern unsigned long _compat_uatomic_cmpxchg(void *addr, unsigned long old,
>  						(unsigned long)(_new), 	       \
>  						sizeof(*(addr))))
>  
> -extern unsigned long _compat_uatomic_xchg(void *addr,
> -					  unsigned long _new, int len);
> +extern unsigned long _compat_uatomic_add_return(void *addr,
> +					        unsigned long _new, int len);
>  #define compat_uatomic_add_return(addr, v)				       \
>  	((__typeof__(*(addr))) _compat_uatomic_add_return((addr),	       \
>  						(unsigned long)(v), 	       \
> -- 
> 1.7.4.4
> 
> 
> 
> _______________________________________________
> 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 R&D Consultant
EfficiOS Inc.
http://www.efficios.com




More information about the lttng-dev mailing list