[ovs-dev] [urcu v2 01/15] ovs-atomic-gcc4+: Fix parenthesization in atomic_read_explicit().
Andy Zhou
azhou at nicira.com
Thu Mar 13 08:00:47 UTC 2014
Acked-by: Andy Zhou <azhou at nicira.com>
On Tue, Mar 11, 2014 at 1:56 PM, Ben Pfaff <blp at nicira.com> wrote:
> Signed-off-by: Ben Pfaff <blp at nicira.com>
> ---
> lib/ovs-atomic-gcc4+.h | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/lib/ovs-atomic-gcc4+.h b/lib/ovs-atomic-gcc4+.h
> index b465181..ddfd03c 100644
> --- a/lib/ovs-atomic-gcc4+.h
> +++ b/lib/ovs-atomic-gcc4+.h
> @@ -202,7 +202,7 @@ atomic_signal_fence(memory_order order OVS_UNUSED)
> #define atomic_read_explicit(SRC, DST, ORDER) \
> (ATOMIC_SWITCH(SRC, \
> (atomic_thread_fence_if_seq_cst(ORDER), \
> - (*DST) = (SRC)->value, \
> + *(DST) = (SRC)->value, \
> atomic_thread_fence(ORDER)), \
> *(DST) = locked_uint64_load(AS_LOCKED_UINT64(SRC)), \
> *(DST) = locked_int64_load(AS_LOCKED_INT64(SRC))), \
> --
> 1.7.10.4
>
> _______________________________________________
> dev mailing list
> dev at openvswitch.org
> http://openvswitch.org/mailman/listinfo/dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openvswitch.org/pipermail/ovs-dev/attachments/20140313/dcd307af/attachment-0005.html>
More information about the dev
mailing list