From: Mathieu Desnoyers Date: Mon, 28 Feb 2011 16:35:09 +0000 (-0500) Subject: ARM: use dmb for rmb and wmb in addition to mb X-Git-Tag: v0.5.3~5 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=f63b71415e6a4c19a6c80d2f0464a0cface53af8;p=urcu.git ARM: use dmb for rmb and wmb in addition to mb Signed-off-by: Mathieu Desnoyers --- diff --git a/urcu/arch_arm.h b/urcu/arch_arm.h index 83cbb60..f97ae1d 100644 --- a/urcu/arch_arm.h +++ b/urcu/arch_arm.h @@ -30,7 +30,9 @@ extern "C" { #endif #ifdef CONFIG_ARM_HAVE_DMB -#define cmm_mb() asm volatile("dmb":::"memory") +#define cmm_mb() asm volatile("dmb":::"memory") +#define cmm_rmb() asm volatile("dmb":::"memory") +#define cmm_wmb() asm volatile("dmb":::"memory") #endif /* CONFIG_ARM_HAVE_DMB */ #include