X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=tests%2Ftest_rwlock.c;h=923ecad946b050e4c1535efba941aa8d5cdf1b1b;hb=40646e1ec30a2fa5d289175643c1d1343e2f9b77;hp=c7edd32789911f38e3c760d243b28cc371160391;hpb=833dbdb633ba44bfb71b4b965a83096d8e4e827b;p=urcu.git diff --git a/tests/test_rwlock.c b/tests/test_rwlock.c index c7edd32..923ecad 100644 --- a/tests/test_rwlock.c +++ b/tests/test_rwlock.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;