eal/arm64: define SMP barrier

dmb instruction based barrier is used for smp version of memory barrier.

Signed-off-by: Jerin Jacob <jerin.jacob@caviumnetworks.com>
This commit is contained in:
Jerin Jacob 2017-01-18 06:51:21 +05:30 committed by Thomas Monjalon
parent 84733fd0d7
commit 67ce81bd3d

View File

@ -82,11 +82,11 @@ static inline void rte_rmb(void)
dsb(ld);
}
#define rte_smp_mb() rte_mb()
#define rte_smp_mb() dmb(ish)
#define rte_smp_wmb() rte_wmb()
#define rte_smp_wmb() dmb(ishst)
#define rte_smp_rmb() rte_rmb()
#define rte_smp_rmb() dmb(ishld)
#ifdef __cplusplus
}