s390: allocate membarrier system call number
[urcu.git] / urcu / arch / s390.h
index b1474d8c32f524b1309f2068754c1e0040ff296e..6dc09a3e76c9d48963a5ddc185f07bb84a4f3eae 100644 (file)
@@ -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.022724 seconds and 4 git commands to generate.