projects
/
urcu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove bogus ; from defines
[urcu.git]
/
tests
/
test_perthreadlock.c
diff --git
a/tests/test_perthreadlock.c
b/tests/test_perthreadlock.c
index 7402f01e0dcf24eb08893d64013f50d64ee681af..1b9445fc1459b1e8f668bf242f7991fdddb39e69 100644
(file)
--- a/
tests/test_perthreadlock.c
+++ b/
tests/test_perthreadlock.c
@@
-32,11
+32,9
@@
#include <assert.h>
#include <sys/syscall.h>
#include <sched.h>
#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
/* hardcoded number of CPUs */
#define NR_CPUS 16384
@@
-61,7
+59,7
@@
static inline pid_t gettid(void)
#else
#define debug_yield_read()
#endif
#else
#define debug_yield_read()
#endif
-#include
"../urcu.h"
+#include
<urcu.h>
struct test_array {
int a;
struct test_array {
int a;
This page took
0.022892 seconds
and
4
git commands to generate.