From bbc504dfbb5e673f0f9abe4561d4ffc61128d959 Mon Sep 17 00:00:00 2001 From: Yongseok Koh Date: Thu, 25 Jan 2018 13:02:46 -0800 Subject: [PATCH] eal/arm32: define coherent I/O memory barriers Signed-off-by: Yongseok Koh Acked-by: Jianbo Liu --- lib/librte_eal/common/include/arch/arm/rte_atomic_32.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/librte_eal/common/include/arch/arm/rte_atomic_32.h b/lib/librte_eal/common/include/arch/arm/rte_atomic_32.h index 14c0486400..d2b7fa20f7 100644 --- a/lib/librte_eal/common/include/arch/arm/rte_atomic_32.h +++ b/lib/librte_eal/common/include/arch/arm/rte_atomic_32.h @@ -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 -- 2.20.1