projects
/
userspace-rcu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: add missing __cds_wfcq_init for LGPL API
[userspace-rcu.git]
/
urcu
/
arch
/
arm.h
diff --git
a/urcu/arch/arm.h
b/urcu/arch/arm.h
index 9483bab0e23761a8f6e853dfbe9258b73adb8256..5cbca7d7f1d0d523186b40837ce93ff515615128 100644
(file)
--- a/
urcu/arch/arm.h
+++ b/
urcu/arch/arm.h
@@
-28,7
+28,7
@@
#ifdef __cplusplus
extern "C" {
#ifdef __cplusplus
extern "C" {
-#endif
+#endif
#ifdef CONFIG_RCU_ARM_HAVE_DMB
#define cmm_mb() __asm__ __volatile__ ("dmb":::"memory")
#ifdef CONFIG_RCU_ARM_HAVE_DMB
#define cmm_mb() __asm__ __volatile__ ("dmb":::"memory")
@@
-40,14
+40,14
@@
extern "C" {
#include <sys/time.h>
/*
#include <sys/time.h>
/*
- *
Define the membarrier system call number if not yet available in the
- * system headers.
+ *
On Linux, define the membarrier system call number if not yet available in
+ *
the
system headers.
*/
*/
-#if
ndef __NR_membarrier
+#if
(defined(__linux__) && !defined(__NR_membarrier))
#define __NR_membarrier 389
#endif
#define __NR_membarrier 389
#endif
-#ifdef __cplusplus
+#ifdef __cplusplus
}
#endif
}
#endif
This page took
0.023197 seconds
and
4
git commands to generate.