fix api.h generation on x86 and powerpc
[urcu.git] / tests / api_x86.h
index 77d86a13a0208b5db189a6c17add55c92e262132..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
@@ -71,7 +73,7 @@
  * Machine parameters.
  */
 
-#define CACHE_LINE_SIZE 64
+/* #define CACHE_LINE_SIZE 64 */
 #define ____cacheline_internodealigned_in_smp \
        __attribute__((__aligned__(1 << 6)))
 
@@ -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.022495 seconds and 4 git commands to generate.