X-Git-Url: https://git.liburcu.org/?a=blobdiff_plain;f=test_rwlock.c;h=733263be628be26b443678eb7d5ec5d687082952;hb=d98c5f2fcaf4863a36d9523831d516e1d3c65651;hp=915027db2423df113e7e6a85add6079a257fcb91;hpb=9e31d0f0084e781405056c347aa4a8c53f676096;p=urcu.git diff --git a/test_rwlock.c b/test_rwlock.c index 915027d..733263b 100644 --- a/test_rwlock.c +++ b/test_rwlock.c @@ -35,6 +35,9 @@ #include "arch.h" +/* 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)