trivial: urcu-pointer.h: s/rcu_dereference_pointer/rcu_dereference/
A message that is not in the archive (sent off-list or not yet received): [email protected]
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/Signed-off-by Emilio G. Cota <[email protected]>--- urcu/static/urcu-pointer.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)urcu/static/urcu-pointer.h +1
-1@@ -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