From: Yongseok Koh Date: Thu, 25 Jan 2018 21:02:46 +0000 (-0800) Subject: eal/arm32: define coherent I/O memory barriers X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=bbc504dfbb5e673f0f9abe4561d4ffc61128d959;p=dpdk.git eal/arm32: define coherent I/O memory barriers Signed-off-by: Yongseok Koh Acked-by: Jianbo Liu --- 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