projects
/
userspace-rcu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
arm: allocate membarrier system call number
[userspace-rcu.git]
/
urcu
/
arch
/
arm.h
diff --git
a/urcu/arch/arm.h
b/urcu/arch/arm.h
index 2d766cd61059684ac30f3cb2989d2a52d07571e1..1457166270314653f9564cdaf99e6c6a598e7e9b 100644
(file)
--- a/
urcu/arch/arm.h
+++ b/
urcu/arch/arm.h
@@
-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.023867 seconds
and
4
git commands to generate.