projects
/
userspace-rcu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: out of tree build: doc/examples
[userspace-rcu.git]
/
urcu.c
diff --git
a/urcu.c
b/urcu.c
index 759b94bdb9e9550e178caa04904e6048c7810b2c..a016bbda89db8ca970014728f24b24d738fb4464 100644
(file)
--- a/
urcu.c
+++ b/
urcu.c
@@
-66,7
+66,7
@@
* RCU_MEMBARRIER is only possibly available on Linux.
*/
#if defined(RCU_MEMBARRIER) && defined(__linux__)
* RCU_MEMBARRIER is only possibly available on Linux.
*/
#if defined(RCU_MEMBARRIER) && defined(__linux__)
-#include <
syscall
.h>
+#include <
urcu/syscall-compat
.h>
#endif
/* If the headers do not support SYS_membarrier, fall back on RCU_MB */
#endif
/* If the headers do not support SYS_membarrier, fall back on RCU_MB */
@@
-109,11
+109,6
@@
struct rcu_gp rcu_gp = { .ctr = RCU_GP_COUNT };
*/
DEFINE_URCU_TLS(struct rcu_reader, rcu_reader);
*/
DEFINE_URCU_TLS(struct rcu_reader, rcu_reader);
-#ifdef DEBUG_YIELD
-unsigned int rcu_yield_active;
-DEFINE_URCU_TLS(unsigned int, rcu_rand_yield);
-#endif
-
static CDS_LIST_HEAD(registry);
/*
static CDS_LIST_HEAD(registry);
/*
This page took
0.023173 seconds
and
4
git commands to generate.