From: Mathieu Desnoyers Date: Tue, 14 Jun 2011 13:15:20 +0000 (-0400) Subject: uatomic generic: map uatomic_and/or to correct symbols X-Git-Tag: v0.6.2~1 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=ef6ca0226ee82ef2f0b2d9a60c646019e20a5fa4;p=urcu.git uatomic generic: map uatomic_and/or to correct symbols Leading underscore was missing. Signed-off-by: Mathieu Desnoyers --- diff --git a/urcu/uatomic/generic.h b/urcu/uatomic/generic.h index 4a57051..82b7c8c 100644 --- a/urcu/uatomic/generic.h +++ b/urcu/uatomic/generic.h @@ -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