14 lines
590 B
Diff
14 lines
590 B
Diff
|
diff --git a/lib/librte_eal/common/include/arch/ppc_64/rte_atomic.h b/lib/librte_eal/common/include/arch/ppc_64/rte_atomic.h
|
||
|
index 39fce7b..1821774 100644
|
||
|
--- a/lib/librte_eal/common/include/arch/ppc_64/rte_atomic.h
|
||
|
+++ b/lib/librte_eal/common/include/arch/ppc_64/rte_atomic.h
|
||
|
@@ -55,7 +55,7 @@
|
||
|
* Guarantees that the LOAD and STORE operations generated before the
|
||
|
* barrier occur before the LOAD and STORE operations generated after.
|
||
|
*/
|
||
|
-#define rte_mb() {asm volatile("sync" : : : "memory"); }
|
||
|
+#define rte_mb() asm volatile("sync" : : : "memory")
|
||
|
|
||
|
/**
|
||
|
* Write memory barrier.
|