projects
/
userspace-rcu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Cleanup: remove leftover manual pthread detection
[userspace-rcu.git]
/
urcu
/
arch
/
hppa.h
diff --git
a/urcu/arch/hppa.h
b/urcu/arch/hppa.h
index f92b0ab594b43cf801aab944a1b47bf6df82c0b5..c8d4d057708e1d5fe603697b12200ca54d0d5682 100644
(file)
--- a/
urcu/arch/hppa.h
+++ b/
urcu/arch/hppa.h
@@
-32,6
+32,14
@@
extern "C" {
#include <stdlib.h>
#include <sys/time.h>
#include <stdlib.h>
#include <sys/time.h>
+/*
+ * On Linux, define the membarrier system call number if not yet available in
+ * the system headers.
+ */
+#if (defined(__linux__) && !defined(__NR_membarrier))
+#define __NR_membarrier 343
+#endif
+
#define HAS_CAA_GET_CYCLES
typedef unsigned long caa_cycles_t;
#define HAS_CAA_GET_CYCLES
typedef unsigned long caa_cycles_t;
This page took
0.026436 seconds
and
4
git commands to generate.