X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=tests%2Ftest_perthreadlock_timing.c;h=9eb1c1357b65c84fe833a16a1a1c991889d3ebc6;hb=6982d6d71aeed16d2d929bd0ed221e8f444b706e;hp=d5bd912784530cc443f0cb868a6b7d6e3691e7f4;hpb=833dbdb633ba44bfb71b4b965a83096d8e4e827b;p=userspace-rcu.git diff --git a/tests/test_perthreadlock_timing.c b/tests/test_perthreadlock_timing.c index d5bd912..9eb1c13 100644 --- a/tests/test_perthreadlock_timing.c +++ b/tests/test_perthreadlock_timing.c @@ -3,7 +3,7 @@ * * Per thread locks - test program * - * Copyright February 2009 - Mathieu Desnoyers + * Copyright February 2009 - Mathieu Desnoyers * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -31,11 +31,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 #if defined(_syscall0) _syscall0(pid_t, gettid) @@ -52,7 +50,7 @@ static inline pid_t gettid(void) } #endif -#include "../urcu.h" +#include struct test_array { int a;