| From | David Howells <> | Subject | Re: [PATCH tip/core/urgent 1/4] rcu: add rcu_access_pointer and rcu_dereference_protected | Date | Fri, 09 Apr 2010 10:10:11 +0100 |
| |
Paul E. McKenney <paulmck@linux.vnet.ibm.com> wrote:
> +#define rcu_access_pointer(p) ((void *)ACCESS_ONCE(p)) > ... > +#define rcu_access_pointer(p) ((void *)ACCESS_ONCE(p))
There's no difference between your two versions of rcu_access_pointer(), so you could move that whole construct outside of the #ifdef'ed section.
Other than that:
Acked-by: David Howells <dhowells@redhat.com>
|