X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=tests%2Ftest_perthreadlock.c;h=8e0800f4b1a48408ae09e54dc0efecdafee88a53;hb=40646e1ec30a2fa5d289175643c1d1343e2f9b77;hp=7402f01e0dcf24eb08893d64013f50d64ee681af;hpb=833dbdb633ba44bfb71b4b965a83096d8e4e827b;p=urcu.git diff --git a/tests/test_perthreadlock.c b/tests/test_perthreadlock.c index 7402f01..8e0800f 100644 --- a/tests/test_perthreadlock.c +++ b/tests/test_perthreadlock.c @@ -33,10 +33,7 @@ #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 +58,7 @@ static inline pid_t gettid(void) #else #define debug_yield_read() #endif -#include "../urcu.h" +#include struct test_array { int a;