Make defer_rcu() usable from library using multiple URCU implementations
[urcu.git] / urcu-bp.h
index fdf885c71113d2f4add67ba4354d00bfd20fcfa7..21fe66a8a15e78d784c349a376af5e6d2b6e7bb2 100644 (file)
--- a/urcu-bp.h
+++ b/urcu-bp.h
@@ -71,8 +71,8 @@ extern "C" {
  *
  * Mark the beginning and end of a read-side critical section.
  */
-#define rcu_read_lock_bp()             _rcu_read_lock()
-#define rcu_read_unlock_bp()           _rcu_read_unlock()
+#define rcu_read_lock_bp               _rcu_read_lock
+#define rcu_read_unlock_bp             _rcu_read_unlock
 
 #else /* !_LGPL_SOURCE */
 
@@ -118,5 +118,6 @@ static inline void rcu_init(void)
 #endif
 
 #include "urcu-call-rcu.h"
+#include "urcu-defer.h"
 
 #endif /* _URCU_BP_H */
This page took 0.022736 seconds and 4 git commands to generate.