X-Git-Url: https://git.lttng.org/?p=urcu.git;a=blobdiff_plain;f=tests%2Ftest_mutex.c;h=89fe4b158ca434e5718dd406257d3ae4b3b8397a;hp=e94819ac8b3cafe353addb4149ae6ca8587afb93;hb=94b343fd8d68512d78d8646c646c15a1b3f84186;hpb=833dbdb633ba44bfb71b4b965a83096d8e4e827b diff --git a/tests/test_mutex.c b/tests/test_mutex.c index e94819a..89fe4b1 100644 --- a/tests/test_mutex.c +++ b/tests/test_mutex.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;