X-Git-Url: https://git.liburcu.org/?p=urcu.git;a=blobdiff_plain;f=test_rwlock.c;h=733263be628be26b443678eb7d5ec5d687082952;hp=915027db2423df113e7e6a85add6079a257fcb91;hb=1d268896f82b053d886a4242433f3c2abcb5a203;hpb=9e31d0f0084e781405056c347aa4a8c53f676096 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)