Add a test for the dmb instruction on ARM
[urcu.git] / urcu / arch_arm.h
index e25457d707427b5cd70a2141089da9909f1c4bc5..83cbb60a209f286093e9abb10ce238329b385243 100644 (file)
@@ -29,7 +29,9 @@
 extern "C" {
 #endif 
 
+#ifdef CONFIG_ARM_HAVE_DMB
 #define cmm_mb()    asm volatile("dmb":::"memory")
+#endif /* CONFIG_ARM_HAVE_DMB */
 
 #include <stdlib.h>
 #include <sys/time.h>
This page took 0.022745 seconds and 4 git commands to generate.