X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=tests%2Ftest_rwlock.c;h=837b800df6c40b22b38fce0f249f6a0c9b294725;hb=1ed9b67726a52a0f4189cc1b58ca0141f7b1614f;hp=c7edd32789911f38e3c760d243b28cc371160391;hpb=833dbdb633ba44bfb71b4b965a83096d8e4e827b;p=urcu.git diff --git a/tests/test_rwlock.c b/tests/test_rwlock.c index c7edd32..837b800 100644 --- a/tests/test_rwlock.c +++ b/tests/test_rwlock.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;