eal/ppc: remove braces in SMP memory barrier macro
authorGowrishankar Muthukrishnan <gowrishankar.m@linux.vnet.ibm.com>
Tue, 27 Feb 2018 15:13:58 +0000 (20:43 +0530)
committerThomas Monjalon <thomas@monjalon.net>
Tue, 13 Mar 2018 23:06:19 +0000 (00:06 +0100)
commitda07658d58461bef714afc196569cf18377073e2
tree1a597c9a68841f78e51337467a0f28bcd6cf92c5
parentbefc693a61bbb5632fce381dfcd3cf35291d37ea
eal/ppc: remove braces in SMP memory barrier macro

This patch fixes the compilation problem with rte_smp_mb,
when there is else clause following it, as in test_barrier.c.

Fixes: 05c3fd7110 ("eal/ppc: atomic operations for IBM Power")
Cc: stable@dpdk.org
Signed-off-by: Gowrishankar Muthukrishnan <gowrishankar.m@linux.vnet.ibm.com>
Acked-by: Luca Boccassi <bluca@debian.org>
Acked-by: Chao Zhu <chaozhu@linux.vnet.ibm.com>
lib/librte_eal/common/include/arch/ppc_64/rte_atomic.h