Update tests api*.h
authorMathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
Tue, 29 Sep 2009 03:09:25 +0000 (23:09 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
Tue, 29 Sep 2009 03:09:25 +0000 (23:09 -0400)
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
tests/api_ppc.h
tests/api_x86.h

index c351d4d18a865a5d393113197ab63f1cc8a198a2..3ca5270293ae65c193b3b1ca6293d4beb6ab72fa 100644 (file)
@@ -25,6 +25,8 @@
  * to redistribute under later versions of GPL might not be available.
  */
 
+#include <urcu/arch.h>
+
 #ifndef __always_inline
 #define __always_inline inline
 #endif
index 95f4c93d41114e50e2059a87060945ba959490e3..4f6e836388ccc2e14693e080a7fcdb12b4b73f40 100644 (file)
@@ -25,6 +25,8 @@
  * to redistribute under later versions of GPL might not be available.
  */
 
+#include <urcu/arch.h>
+
 #ifndef __always_inline
 #define __always_inline inline
 #endif
@@ -359,7 +361,7 @@ __asm__ __volatile__(LOCK_PREFIX "orl %0,%1" \
  */
 
 #ifndef CACHE_LINE_SIZE
-#define CACHE_LINE_SIZE 128
+/* #define CACHE_LINE_SIZE 128 */
 #endif /* #ifndef CACHE_LINE_SIZE */
 
 /*
This page took 0.026074 seconds and 4 git commands to generate.