projects
/
urcu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Version 0.5.3
[urcu.git]
/
urcu
/
arch_arm.h
diff --git
a/urcu/arch_arm.h
b/urcu/arch_arm.h
index e25457d707427b5cd70a2141089da9909f1c4bc5..f97ae1d1d5979cde65920c4a95556a5dec73c223 100644
(file)
--- a/
urcu/arch_arm.h
+++ b/
urcu/arch_arm.h
@@
-29,7
+29,11
@@
extern "C" {
#endif
extern "C" {
#endif
-#define cmm_mb() asm volatile("dmb":::"memory")
+#ifdef CONFIG_ARM_HAVE_DMB
+#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>
#include <sys/time.h>
#include <stdlib.h>
#include <sys/time.h>
This page took
0.023208 seconds
and
4
git commands to generate.