Allow taking address of rcu_read_lock() and rcu_read_unlock()
[urcu.git] / urcu-bp.h
index fdf885c71113d2f4add67ba4354d00bfd20fcfa7..bc2dbc370f7f80e0610613078e7417478829265f 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 */
 
This page took 0.022582 seconds and 4 git commands to generate.