projects
/
userspace-rcu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Map symbols to allow multiple RCU flavors to be used in one binary
[userspace-rcu.git]
/
urcu-bp.h
diff --git
a/urcu-bp.h
b/urcu-bp.h
index d92fbd1755047cc8cb446f9ec568d6b332f29a16..fdf885c71113d2f4add67ba4354d00bfd20fcfa7 100644
(file)
--- a/
urcu-bp.h
+++ b/
urcu-bp.h
@@
-46,6
+46,8
@@
extern "C" {
#endif
extern "C" {
#endif
+#include "urcu-bp-map.h"
+
/*
* Important !
*
/*
* Important !
*
@@
-69,8
+71,8
@@
extern "C" {
*
* Mark the beginning and end of a read-side critical section.
*/
*
* Mark the beginning and end of a read-side critical section.
*/
-#define rcu_read_lock
()
_rcu_read_lock()
-#define rcu_read_unlock
()
_rcu_read_unlock()
+#define rcu_read_lock
_bp()
_rcu_read_lock()
+#define rcu_read_unlock
_bp()
_rcu_read_unlock()
#else /* !_LGPL_SOURCE */
#else /* !_LGPL_SOURCE */
@@
-115,4
+117,6
@@
static inline void rcu_init(void)
}
#endif
}
#endif
+#include "urcu-call-rcu.h"
+
#endif /* _URCU_BP_H */
#endif /* _URCU_BP_H */
This page took
0.023308 seconds
and
4
git commands to generate.