urcu-static.h: use SYS_membarrier rather than __NR_membarrier
authorMathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
Fri, 12 Feb 2010 21:39:22 +0000 (16:39 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
Fri, 12 Feb 2010 21:39:22 +0000 (16:39 -0500)
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
urcu-static.h

index 504febb7cd51059b8c258540955620f4f14449a9..f68dd7c8dc1231641d040d6aeebad2a5da56970f 100644 (file)
@@ -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
This page took 0.027377 seconds and 4 git commands to generate.