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:
parent
84733fd0d7
commit
67ce81bd3d
@ -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
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user