[lttng-dev] [urcu][PATCH] trivial: urcu-pointer.h: s/rcu_dereference_pointer/rcu_dereference/

Emilio G. Cota cota at braap.org
Tue Feb 3 12:53:46 EST 2015


Signed-off-by: Emilio G. Cota <cota at braap.org>
---
 urcu/static/urcu-pointer.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/urcu/static/urcu-pointer.h b/urcu/static/urcu-pointer.h
index 4361156..a5b3e4b 100644
--- a/urcu/static/urcu-pointer.h
+++ b/urcu/static/urcu-pointer.h
@@ -122,21 +122,21 @@ extern "C" {
 /**
  * _rcu_assign_pointer - assign (publicize) a pointer to a new data structure
  * meant to be read by RCU read-side critical sections. Returns the assigned
  * value.
  *
  * Documents which pointers will be dereferenced by RCU read-side critical
  * sections and adds the required memory barriers on architectures requiring
  * them. It also makes sure the compiler does not reorder code initializing the
  * data structure before its publication.
  *
- * Should match rcu_dereference_pointer().
+ * Should match rcu_dereference().
  *
  * This macro is less than 10 lines long.  The intent is that this macro
  * meets the 10-line criterion in LGPL, allowing this function to be
  * expanded directly in non-LGPL code.
  */
 #define _rcu_assign_pointer(p, v)	_rcu_set_pointer(&(p), v)
 
 #ifdef __cplusplus 
 }
 #endif
-- 
1.8.3




More information about the lttng-dev mailing list