X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=tests%2Ftest_perthreadlock.c;h=1b9445fc1459b1e8f668bf242f7991fdddb39e69;hb=94b343fd8d68512d78d8646c646c15a1b3f84186;hp=7402f01e0dcf24eb08893d64013f50d64ee681af;hpb=833dbdb633ba44bfb71b4b965a83096d8e4e827b;p=urcu.git diff --git a/tests/test_perthreadlock.c b/tests/test_perthreadlock.c index 7402f01..1b9445f 100644 --- a/tests/test_perthreadlock.c +++ b/tests/test_perthreadlock.c @@ -32,11 +32,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 /* hardcoded number of CPUs */ #define NR_CPUS 16384 @@ -61,7 +59,7 @@ static inline pid_t gettid(void) #else #define debug_yield_read() #endif -#include "../urcu.h" +#include struct test_array { int a;