Fixes to allow building on Power
[urcu.git] / tests / test_mutex.c
index e94819ac8b3cafe353addb4149ae6ca8587afb93..89fe4b158ca434e5718dd406257d3ae4b3b8397a 100644 (file)
 #include <assert.h>
 #include <sys/syscall.h>
 #include <sched.h>
+#include <errno.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 +59,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.022371 seconds and 4 git commands to generate.