30/01/2018 11:53, Gowrishankar: > From: Gowrishankar Muthukrishnan <gowrishanka...@linux.vnet.ibm.com> > > Calling rte_smp_{w/r}mb macro expands into a compound block, which > would break compiling a else clause following it, if that calling > place has been terminated already with ";", as in below code. > This patch adds { } around this macro to allow compiling else too. > > Fixes: d23a6bd04d ("eal/ppc: fix memory barrier for IBM POWER") > Fixes: 05c3fd7110 ("eal/ppc: atomic operations for IBM Power") > > Signed-off-by: Gowrishankar Muthukrishnan <gowrishanka...@linux.vnet.ibm.com>
Applied, thanks