X-Git-Url: https://git.liburcu.org/?a=blobdiff_plain;f=tests%2Ftest_perthreadlock_timing.c;h=9eb1c1357b65c84fe833a16a1a1c991889d3ebc6;hb=7bcbcfb2ad1cb0e3b6df395b740969d0d9e21dbf;hp=10720cbfe1f14aaf7f08db75f4d8afaa750ee284;hpb=ec4e58a3aba2084440012f8ccac3a31eb6101183;p=urcu.git diff --git a/tests/test_perthreadlock_timing.c b/tests/test_perthreadlock_timing.c index 10720cb..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,12 +31,10 @@ #include #include #include +#include #include -/* Make this big enough to include the POWER5+ L3 cacheline size of 256B */ -#define CACHE_LINE_SIZE 4096 - #if defined(_syscall0) _syscall0(pid_t, gettid) #elif defined(__NR_gettid)