projects
/
urcu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add S390 architecture specific headers
[urcu.git]
/
arch_ppc.h
diff --git
a/arch_ppc.h
b/arch_ppc.h
index c68790f3dc901d0a0e2cd013e1a3b73185259780..9c4ec912537b6550e5e0676ef350635fb14cc507 100644
(file)
--- a/
arch_ppc.h
+++ b/
arch_ppc.h
@@
-78,6
+78,14
@@
static inline void cpu_relax(void)
barrier();
}
+/*
+ * Serialize core instruction execution. Also acts as a compiler barrier.
+ */
+static inline void sync_core()
+{
+ asm volatile("isync" : : : "memory");
+}
+
#define mftbl() \
({ \
unsigned long rval; \
This page took
0.036767 seconds
and
4
git commands to generate.