projects
/
urcu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
powerpc64le: use "ppc" architecture
[urcu.git]
/
urcu
/
arch
/
arm.h
diff --git
a/urcu/arch/arm.h
b/urcu/arch/arm.h
index e20695ecf3cf6acb142a1830fe5d527c0f4d0cf6..1457166270314653f9564cdaf99e6c6a598e7e9b 100644
(file)
--- a/
urcu/arch/arm.h
+++ b/
urcu/arch/arm.h
@@
-24,6
+24,7
@@
#include <urcu/compiler.h>
#include <urcu/config.h>
#include <urcu/compiler.h>
#include <urcu/config.h>
+#include <urcu/syscall-compat.h>
#ifdef __cplusplus
extern "C" {
#ifdef __cplusplus
extern "C" {
@@
-51,6
+52,14
@@
static inline cycles_t caa_get_cycles (void)
return (cycles_t)thetime;
}
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
#ifdef __cplusplus
}
#endif
This page took
0.023338 seconds
and
4
git commands to generate.