Skip to contentSkip to conversation

trivial: urcu-pointer.h: s/rcu_dereference_pointer/rcu_dereference/

PATCH Mathieu Desnoyers 1 participant 1 message Feb 4, 2015 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

Added "Fix: documentation" to the title, merged into master, stable-0.8 and stable-0.7, thanks!

Mathieu

----- Original Message -----

Quoted 48 lines

From: "Emilio G. Cota" <[email protected]>
To: [email protected]
Sent: Tuesday, February 3, 2015 12:53:46 PM
Subject: [lttng-dev] [urcu][PATCH] trivial: urcu-pointer.h: s/rcu_dereference_pointer/rcu_dereference/

---
 urcu/static/urcu-pointer.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
urcu/static/urcu-pointer.h +1 -1
index 4361156..a5b3e4b 100644
@@ -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

_______________________________________________
lttng-dev mailing list
[email protected]
http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev

Signature · 3 lines
Mathieu Desnoyers
EfficiOS Inc.
http://www.efficios.com