From: Jerin Jacob Date: Wed, 18 Jan 2017 01:21:22 +0000 (+0530) Subject: eal/arm64: define I/O device memory barriers X-Git-Tag: spdx-start~4751 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=2cf953cfd8cf4edba6f8417b70fcb578493fb3e8;p=dpdk.git eal/arm64: define I/O device memory barriers CC: Jianbo Liu Signed-off-by: Jerin Jacob --- diff --git a/lib/librte_eal/common/include/arch/arm/rte_atomic_64.h b/lib/librte_eal/common/include/arch/arm/rte_atomic_64.h index 78ebea24ad..ef0efc7074 100644 --- a/lib/librte_eal/common/include/arch/arm/rte_atomic_64.h +++ b/lib/librte_eal/common/include/arch/arm/rte_atomic_64.h @@ -88,6 +88,12 @@ static inline void rte_rmb(void) #define rte_smp_rmb() dmb(ishld) +#define rte_io_mb() rte_mb() + +#define rte_io_wmb() rte_wmb() + +#define rte_io_rmb() rte_rmb() + #ifdef __cplusplus } #endif