projects
/
urcu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
define CACHE_LINE_SIZE in arch_*.h
[urcu.git]
/
tests
/
test_perthreadlock_timing.c
diff --git
a/tests/test_perthreadlock_timing.c
b/tests/test_perthreadlock_timing.c
index d5bd912784530cc443f0cb868a6b7d6e3691e7f4..9761f5d9204c9eb0d60f641e1e1a52e7753588f4 100644
(file)
--- a/
tests/test_perthreadlock_timing.c
+++ b/
tests/test_perthreadlock_timing.c
@@
-32,10
+32,7
@@
#include <sys/syscall.h>
#include <pthread.h>
#include <sys/syscall.h>
#include <pthread.h>
-#include "../arch.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)
@@
-52,7
+49,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.023752 seconds
and
4
git commands to generate.