projects
/
userspace-rcu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
s390: allocate membarrier system call number
[userspace-rcu.git]
/
urcu
/
arch
/
s390.h
diff --git
a/urcu/arch/s390.h
b/urcu/arch/s390.h
index b1474d8c32f524b1309f2068754c1e0040ff296e..6dc09a3e76c9d48963a5ddc185f07bb84a4f3eae 100644
(file)
--- a/
urcu/arch/s390.h
+++ b/
urcu/arch/s390.h
@@
-51,6
+51,14
@@
static inline cycles_t caa_get_cycles (void)
return cycles;
}
+/*
+ * Define the membarrier system call number if not yet available in the
+ * system headers.
+ */
+#ifndef __NR_membarrier
+#define __NR_membarrier 356
+#endif
+
#ifdef __cplusplus
}
#endif
This page took
0.024695 seconds
and
4
git commands to generate.