projects
/
urcu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Force build failure on unknown architectures
[urcu.git]
/
urcu
/
arch_ppc.h
diff --git
a/urcu/arch_ppc.h
b/urcu/arch_ppc.h
index 1e096dbb893eca6e0cca03aba5858c7cee44f5c6..185cb22f3f1fff025fc48447a2653f6f47703866 100644
(file)
--- a/
urcu/arch_ppc.h
+++ b/
urcu/arch_ppc.h
@@
-32,17
+32,8
@@
extern "C" {
/* Include size of POWER5+ L3 cache lines: 256 bytes */
#define CACHE_LINE_SIZE 256
/* Include size of POWER5+ L3 cache lines: 256 bytes */
#define CACHE_LINE_SIZE 256
-#ifndef BITS_PER_LONG
-#define BITS_PER_LONG (__SIZEOF_LONG__ * 8)
-#endif
-
#define mb() asm volatile("sync":::"memory")
#define mb() asm volatile("sync":::"memory")
-/*
- * Serialize core instruction execution. Also acts as a compiler barrier.
- */
-#define sync_core() asm volatile("isync" : : : "memory")
-
#define mftbl() \
({ \
unsigned long rval; \
#define mftbl() \
({ \
unsigned long rval; \
This page took
0.02283 seconds
and
4
git commands to generate.