#include <assert.h>
#include <sys/syscall.h>
#include <pthread.h>
+#include <errno.h>
#include <urcu/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)