projects
/
urcu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
wfcqueue: add C++ compatibility API
[urcu.git]
/
urcu
/
arch
/
sparc64.h
diff --git
a/urcu/arch/sparc64.h
b/urcu/arch/sparc64.h
index 6ce323fdf82abf112e282d57338f1e100d84eee5..1ff40f5c4698d4d7fd693098a16aabedcf1ba45a 100644
(file)
--- a/
urcu/arch/sparc64.h
+++ b/
urcu/arch/sparc64.h
@@
-30,6
+30,14
@@
extern "C" {
#endif
extern "C" {
#endif
+/*
+ * On Linux, define the membarrier system call number if not yet available in
+ * the system headers.
+ */
+#if (defined(__linux__) && !defined(__NR_membarrier))
+#define __NR_membarrier 351
+#endif
+
#define CAA_CACHE_LINE_SIZE 256
/*
#define CAA_CACHE_LINE_SIZE 256
/*
This page took
0.028536 seconds
and
4
git commands to generate.