atomic: fix typo in x86 compat implementation
authorPaolo Bonzini <pbonzini@redhat.com>
Wed, 8 Jun 2011 22:11:34 +0000 (18:11 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Wed, 8 Jun 2011 22:11:34 +0000 (18:11 -0400)
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
urcu/uatomic_arch_x86.h

index aed513b67b4146f8f50bf52f133de0079611d97c..09a5bbbbfa0f98fa1b7b840a06fc5e4dde5e1dbf 100644 (file)
@@ -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),            \
This page took 0.025645 seconds and 4 git commands to generate.