projects
/
urcu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Force build failure on unknown architectures
[urcu.git]
/
tests
/
test_perthreadlock_timing.c
diff --git
a/tests/test_perthreadlock_timing.c
b/tests/test_perthreadlock_timing.c
index 10720cbfe1f14aaf7f08db75f4d8afaa750ee284..5f6ed763d761fa2497a94509127118eeff4fe2a6 100644
(file)
--- a/
tests/test_perthreadlock_timing.c
+++ b/
tests/test_perthreadlock_timing.c
@@
-31,12
+31,10
@@
#include <assert.h>
#include <sys/syscall.h>
#include <pthread.h>
#include <assert.h>
#include <sys/syscall.h>
#include <pthread.h>
+#include <errno.h>
#include <urcu/arch.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)
#if defined(_syscall0)
_syscall0(pid_t, gettid)
#elif defined(__NR_gettid)
This page took
0.022812 seconds
and
4
git commands to generate.