From: Mathieu Desnoyers Date: Fri, 12 Feb 2010 21:39:22 +0000 (-0500) Subject: urcu-static.h: use SYS_membarrier rather than __NR_membarrier X-Git-Tag: v0.4.1~1 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=d4fc680a1b809d90cb28f144c5d3e1143171bbab;p=urcu.git urcu-static.h: use SYS_membarrier rather than __NR_membarrier Signed-off-by: Mathieu Desnoyers --- diff --git a/urcu-static.h b/urcu-static.h index 504febb..f68dd7c 100644 --- a/urcu-static.h +++ b/urcu-static.h @@ -59,7 +59,7 @@ extern "C" { # define MEMBARRIER_EXPEDITED (1 << 0) # define MEMBARRIER_DELAYED (1 << 1) # define MEMBARRIER_QUERY (1 << 16) -# define membarrier(...) syscall(__NR_membarrier, __VA_ARGS__) +# define membarrier(...) syscall(SYS_membarrier, __VA_ARGS__) #else # undef RCU_MEMBARRIER # define RCU_MB