X-Git-Url: https://git.liburcu.org/?a=blobdiff_plain;f=tests%2Ftest_perthreadlock_timing.c;h=5f6ed763d761fa2497a94509127118eeff4fe2a6;hb=8760d94e0ef6d52260765a9246aaac073613055e;hp=d5bd912784530cc443f0cb868a6b7d6e3691e7f4;hpb=833dbdb633ba44bfb71b4b965a83096d8e4e827b;p=urcu.git diff --git a/tests/test_perthreadlock_timing.c b/tests/test_perthreadlock_timing.c index d5bd912..5f6ed76 100644 --- a/tests/test_perthreadlock_timing.c +++ b/tests/test_perthreadlock_timing.c @@ -31,11 +31,9 @@ #include #include #include +#include -#include "../arch.h" - -/* Make this big enough to include the POWER5+ L3 cacheline size of 256B */ -#define CACHE_LINE_SIZE 4096 +#include #if defined(_syscall0) _syscall0(pid_t, gettid) @@ -52,7 +50,7 @@ static inline pid_t gettid(void) } #endif -#include "../urcu.h" +#include struct test_array { int a;