projects
/
urcu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixes to allow building on Power
[urcu.git]
/
tests
/
test_rwlock_timing.c
diff --git
a/tests/test_rwlock_timing.c
b/tests/test_rwlock_timing.c
index 5bc93d33d969e8a1cf1c74901d048f06652a68eb..869017ea9a1d0dc8a250d3a88de47d7d86ec02d4 100644
(file)
--- a/
tests/test_rwlock_timing.c
+++ b/
tests/test_rwlock_timing.c
@@
-31,10
+31,9
@@
#include <assert.h>
#include <sys/syscall.h>
#include <pthread.h>
#include <assert.h>
#include <sys/syscall.h>
#include <pthread.h>
-#include
"../arch.h"
+#include
<errno.h>
-/* Make this big enough to include the POWER5+ L3 cacheline size of 256B */
-#define CACHE_LINE_SIZE 4096
+#include <urcu/arch.h>
#if defined(_syscall0)
_syscall0(pid_t, gettid)
#if defined(_syscall0)
_syscall0(pid_t, gettid)
@@
-51,7
+50,7
@@
static inline pid_t gettid(void)
}
#endif
}
#endif
-#include
"../urcu.h"
+#include
<urcu.h>
struct test_array {
int a;
struct test_array {
int a;
This page took
0.027548 seconds
and
4
git commands to generate.