projects
/
userspace-rcu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add cmm_emit_legacy_smp_mb()
[userspace-rcu.git]
/
include
/
urcu
/
arch.h
diff --git
a/include/urcu/arch.h
b/include/urcu/arch.h
index 45ba6a222fe507b5910a307e667d72d27545672e..717d79c6a2c6020c27baf94bcc7b099995245b9f 100644
(file)
--- a/
include/urcu/arch.h
+++ b/
include/urcu/arch.h
@@
-155,5
+155,11
@@
#error "Cannot build: unrecognized architecture, see <urcu/arch.h>."
#endif
#error "Cannot build: unrecognized architecture, see <urcu/arch.h>."
#endif
+#ifdef CONFIG_RCU_EMIT_LEGACY_MB
+# define cmm_emit_legacy_smp_mb() cmm_smp_mb()
+#else
+# define cmm_emit_legacy_smp_mb() do { } while (0)
+#endif
+
#endif /* _URCU_ARCH_H */
#endif /* _URCU_ARCH_H */
This page took
0.022999 seconds
and
4
git commands to generate.