projects
/
urcu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add test for rcu_assign_pointer()
[urcu.git]
/
tests
/
test_mutex.c
diff --git
a/tests/test_mutex.c
b/tests/test_mutex.c
index e94819ac8b3cafe353addb4149ae6ca8587afb93..f2ef706405d159116cac5bead121ea37d3a44bd5 100644
(file)
--- a/
tests/test_mutex.c
+++ b/
tests/test_mutex.c
@@
-33,10
+33,7
@@
#include <sys/syscall.h>
#include <sched.h>
#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
/* hardcoded number of CPUs */
#define NR_CPUS 16384
@@
-61,7
+58,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.023589 seconds
and
4
git commands to generate.