fix api.h generation on x86 and powerpc
[urcu.git] / tests / test_rwlock.c
index c7edd32789911f38e3c760d243b28cc371160391..923ecad946b050e4c1535efba941aa8d5cdf1b1b 100644 (file)
 #include <sys/syscall.h>
 #include <sched.h>
 
-#include "../arch.h"
-
-/* Make this big enough to include the POWER5+ L3 cacheline size of 256B */
-#define CACHE_LINE_SIZE 4096
+#include <urcu/arch.h>
 
 /* hardcoded number of CPUs */
 #define NR_CPUS 16384
@@ -61,7 +58,7 @@ static inline pid_t gettid(void)
 #else
 #define debug_yield_read()
 #endif
-#include "../urcu.h"
+#include <urcu.h>
 
 struct test_array {
        int a;
This page took 0.023124 seconds and 4 git commands to generate.