uatomic generic: map uatomic_and/or to correct symbols
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Tue, 14 Jun 2011 13:15:20 +0000 (09:15 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Tue, 14 Jun 2011 13:15:20 +0000 (09:15 -0400)
Leading underscore was missing.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
urcu/uatomic/generic.h

index 4a5705198b1a81fa48713b41c743a10c2feedd22..82b7c8c5eb38055e5cdf845be429647dfd63fa27 100644 (file)
@@ -316,7 +316,7 @@ void _uatomic_and(void *addr, unsigned long val, int len)
 }
 
 #define uatomic_and(addr, v)           \
-       (uatomic_and((addr),            \
+       (_uatomic_and((addr),           \
                    (unsigned long)(v), \
                    sizeof(*(addr))))
 #endif /* #ifndef uatomic_and */
@@ -387,9 +387,9 @@ void _uatomic_or(void *addr, unsigned long val, int len)
 }
 
 #define uatomic_or(addr, v)            \
-       (uatomic_or((addr),             \
-                   (unsigned long)(v), \
-                   sizeof(*(addr))))
+       (_uatomic_or((addr),            \
+                    (unsigned long)(v),\
+                    sizeof(*(addr))))
 #endif /* #ifndef uatomic_or */
 
 #ifndef uatomic_add_return
This page took 0.025974 seconds and 4 git commands to generate.