X-Git-Url: https://git.liburcu.org/?a=blobdiff_plain;f=tests%2Fapi_x86.h;h=05fc05adbd538f3631efc419f6bd78d461ff5106;hb=7dd8417e70a581e78759d067396d7858c7cb5157;hp=77d86a13a0208b5db189a6c17add55c92e262132;hpb=63ff4873e046ba582d20e79ebff16ee7da2aa92f;p=urcu.git diff --git a/tests/api_x86.h b/tests/api_x86.h index 77d86a1..05fc05a 100644 --- a/tests/api_x86.h +++ b/tests/api_x86.h @@ -1,5 +1,6 @@ /* MECHANICALLY GENERATED, DO NOT EDIT!!! */ +#ifndef _INCLUDE_API_H #define _INCLUDE_API_H /* @@ -25,6 +26,8 @@ * to redistribute under later versions of GPL might not be available. */ +#include + #ifndef __always_inline #define __always_inline inline #endif @@ -71,7 +74,7 @@ * Machine parameters. */ -#define CACHE_LINE_SIZE 64 +/* #define CACHE_LINE_SIZE 64 */ #define ____cacheline_internodealigned_in_smp \ __attribute__((__aligned__(1 << 6))) @@ -359,7 +362,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 */ /* @@ -1391,3 +1394,5 @@ static inline void hlist_move_list(struct hlist_head *old, pos = n) #endif + +#endif