From: Paolo Bonzini Date: Wed, 8 Jun 2011 22:11:34 +0000 (-0400) Subject: atomic: fix typo in x86 compat implementation X-Git-Tag: v0.6.0~36 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=28ca843d76e4fdc88dc51c4ae444d41446158e83;p=userspace-rcu.git atomic: fix typo in x86 compat implementation Signed-off-by: Paolo Bonzini Signed-off-by: Mathieu Desnoyers --- diff --git a/urcu/uatomic_arch_x86.h b/urcu/uatomic_arch_x86.h index aed513b..09a5bbb 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), \