eal/arm32: define coherent I/O memory barriers
authorYongseok Koh <yskoh@mellanox.com>
Thu, 25 Jan 2018 21:02:46 +0000 (13:02 -0800)
committerThomas Monjalon <thomas@monjalon.net>
Sun, 28 Jan 2018 07:30:25 +0000 (08:30 +0100)
Signed-off-by: Yongseok Koh <yskoh@mellanox.com>
Acked-by: Jianbo Liu <jianbo.liu@arm.com>
lib/librte_eal/common/include/arch/arm/rte_atomic_32.h

index 14c0486..d2b7fa2 100644 (file)
@@ -79,6 +79,10 @@ extern "C" {
 
 #define rte_io_rmb() rte_rmb()
 
+#define rte_cio_wmb() rte_wmb()
+
+#define rte_cio_rmb() rte_rmb()
+
 #ifdef __cplusplus
 }
 #endif