arm: allocate membarrier system call number
[urcu.git] / urcu / arch / arm.h
index 2d766cd61059684ac30f3cb2989d2a52d07571e1..1457166270314653f9564cdaf99e6c6a598e7e9b 100644 (file)
@@ -52,6 +52,14 @@ static inline cycles_t caa_get_cycles (void)
        return (cycles_t)thetime;
 }
 
+/*
+ * Define the membarrier system call number if not yet available in the
+ * system headers.
+ */
+#ifndef __NR_membarrier
+#define __NR_membarrier                389
+#endif
+
 #ifdef __cplusplus 
 }
 #endif
This page took 0.022874 seconds and 4 git commands to generate.