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

Mathieu Desnoyers mathieu.desnoyers at efficios.com
Wed Feb 4 12:07:49 EST 2015


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

Mathieu

----- Original Message -----
> From: "Emilio G. Cota" <cota at braap.org>
> To: lttng-dev at lists.lttng.org
> 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 <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
> 
> 
> _______________________________________________
> lttng-dev mailing list
> lttng-dev at lists.lttng.org
> http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev
> 

-- 
Mathieu Desnoyers
EfficiOS Inc.
http://www.efficios.com



More information about the lttng-dev mailing list