projects
/
urcu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Cleanup: remove trailing whitespaces at EOL
[urcu.git]
/
urcu
/
arch
/
ppc.h
diff --git
a/urcu/arch/ppc.h
b/urcu/arch/ppc.h
index 1784ccdfe4aed8663e9706dc99e3ff0833f509eb..dbdfec8a58dd3f29414fbc99aa48e83fa701cff3 100644
(file)
--- a/
urcu/arch/ppc.h
+++ b/
urcu/arch/ppc.h
@@
-28,7
+28,7
@@
#ifdef __cplusplus
extern "C" {
#ifdef __cplusplus
extern "C" {
-#endif
+#endif
/* Include size of POWER5+ L3 cache lines: 256 bytes */
#define CAA_CACHE_LINE_SIZE 256
/* Include size of POWER5+ L3 cache lines: 256 bytes */
#define CAA_CACHE_LINE_SIZE 256
@@
-82,6
+82,8
@@
extern "C" {
rval; \
})
rval; \
})
+#define HAS_CAA_GET_CYCLES
+
typedef unsigned long long cycles_t;
#ifdef __powerpc64__
typedef unsigned long long cycles_t;
#ifdef __powerpc64__
@@
-113,7
+115,7
@@
static inline cycles_t caa_get_cycles(void)
#define __NR_membarrier 365
#endif
#define __NR_membarrier 365
#endif
-#ifdef __cplusplus
+#ifdef __cplusplus
}
#endif
}
#endif
This page took
0.02431 seconds
and
4
git commands to generate.