ARM: use dmb for rmb and wmb in addition to mb
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mon, 28 Feb 2011 16:35:09 +0000 (11:35 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mon, 28 Feb 2011 16:35:09 +0000 (11:35 -0500)
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
urcu/arch_arm.h

index 83cbb60a209f286093e9abb10ce238329b385243..f97ae1d1d5979cde65920c4a95556a5dec73c223 100644 (file)
@@ -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 <stdlib.h>
This page took 0.033344 seconds and 4 git commands to generate.