X-Git-Url: http://git.liburcu.org/?p=urcu.git;a=blobdiff_plain;f=urcu-static.h;fp=urcu-static.h;h=f68dd7c8dc1231641d040d6aeebad2a5da56970f;hp=504febb7cd51059b8c258540955620f4f14449a9;hb=d4fc680a1b809d90cb28f144c5d3e1143171bbab;hpb=14714b51fd19da8d72a3eb3367c2e52615b3baf3 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