X-Git-Url: https://git.liburcu.org/?a=blobdiff_plain;f=tests%2Ftest_rwlock_timing.c;h=c354de7f69d816a769f0180a2aa82b075efc3806;hb=d8540fc53386cd7ff270085aca621e32772832ba;hp=5bc93d33d969e8a1cf1c74901d048f06652a68eb;hpb=833dbdb633ba44bfb71b4b965a83096d8e4e827b;p=urcu.git diff --git a/tests/test_rwlock_timing.c b/tests/test_rwlock_timing.c index 5bc93d3..c354de7 100644 --- a/tests/test_rwlock_timing.c +++ b/tests/test_rwlock_timing.c @@ -20,6 +20,7 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ +#define _GNU_SOURCE #include #include #include @@ -31,10 +32,9 @@ #include #include #include -#include "../arch.h" +#include -/* Make this big enough to include the POWER5+ L3 cacheline size of 256B */ -#define CACHE_LINE_SIZE 4096 +#include #if defined(_syscall0) _syscall0(pid_t, gettid) @@ -51,7 +51,7 @@ static inline pid_t gettid(void) } #endif -#include "../urcu.h" +#include struct test_array { int a;