projects
/
urcu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update support for MEMBARRIER_QUERY
[urcu.git]
/
urcu-static.h
diff --git
a/urcu-static.h
b/urcu-static.h
index 44bcd073710e3e98d760c667eb7aa787238bb3ff..e1d0704d1af54cad91ca5c0295f00d92a9cabece 100644
(file)
--- a/
urcu-static.h
+++ b/
urcu-static.h
@@
-56,8
+56,9
@@
extern "C" {
/* If the headers do not support SYS_membarrier, statically use RCU_MB */
#ifdef SYS_membarrier
/* If the headers do not support SYS_membarrier, statically use RCU_MB */
#ifdef SYS_membarrier
-# define MEMBARRIER_EXPEDITED (1 << 0)
-# define MEMBARRIER_DELAYED (1 << 1)
+# define MEMBARRIER_EXPEDITED (1 << 0)
+# define MEMBARRIER_DELAYED (1 << 1)
+# define MEMBARRIER_QUERY (1 << 16)
# define membarrier(...) syscall(__NR_membarrier, __VA_ARGS__)
#else
# undef RCU_MEMBARRIER
# define membarrier(...) syscall(__NR_membarrier, __VA_ARGS__)
#else
# undef RCU_MEMBARRIER
This page took
0.022608 seconds
and
4
git commands to generate.