X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;ds=sidebyside;f=urcu%2Farch%2Fs390.h;h=e12c88c3398728025e745bd53e4c997e1d5e2fca;hb=67ecffc0f530a7b5c4dd5111ea7dd3213da8eb91;hp=6dc09a3e76c9d48963a5ddc185f07bb84a4f3eae;hpb=33f0d0b1c3c9ee55e49b6f7bed146e483e3fd935;p=urcu.git diff --git a/urcu/arch/s390.h b/urcu/arch/s390.h index 6dc09a3..e12c88c 100644 --- a/urcu/arch/s390.h +++ b/urcu/arch/s390.h @@ -34,12 +34,14 @@ #ifdef __cplusplus extern "C" { -#endif +#endif #define CAA_CACHE_LINE_SIZE 128 #define cmm_mb() __asm__ __volatile__("bcr 15,0" : : : "memory") +#define HAS_CAA_GET_CYCLES + typedef unsigned long long cycles_t; static inline cycles_t caa_get_cycles (void) @@ -59,7 +61,7 @@ static inline cycles_t caa_get_cycles (void) #define __NR_membarrier 356 #endif -#ifdef __cplusplus +#ifdef __cplusplus } #endif