X-Git-Url: https://git.liburcu.org/?a=blobdiff_plain;f=urcu%2Farch_ppc.h;h=b0f503001eef91fc3faa85c78e938f78f8440a20;hb=85b577030e0dd244ed2d42aa5196a088e1e64dbb;hp=93aed2a72f0c06b0f4a0cc68c0365f30ca150017;hpb=5481ddb381061bda64aebc039900d21cac6a6caf;p=urcu.git diff --git a/urcu/arch_ppc.h b/urcu/arch_ppc.h index 93aed2a..b0f5030 100644 --- a/urcu/arch_ppc.h +++ b/urcu/arch_ppc.h @@ -30,7 +30,7 @@ extern "C" { #endif /* Include size of POWER5+ L3 cache lines: 256 bytes */ -#define CACHE_LINE_SIZE 256 +#define CAA_CACHE_LINE_SIZE 256 #define cmm_mb() asm volatile("sync":::"memory") @@ -50,7 +50,7 @@ extern "C" { typedef unsigned long long cycles_t; -static inline cycles_t get_cycles (void) +static inline cycles_t caa_get_cycles (void) { long h, l;