X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=src%2Fvppinfra%2Fcache.h;h=e5c678eb51734ecd2421b780d51a02234eb05696;hb=e877d68407d316adb64baa855985b746dcb2e102;hp=7464b77a41bfa3be1516c642b2e2bda0a29de363;hpb=6ce2232e4cd4a24f73bdfd32ae01f14cf8c1ee77;p=vpp.git diff --git a/src/vppinfra/cache.h b/src/vppinfra/cache.h index 7464b77a41b..e5c678eb517 100644 --- a/src/vppinfra/cache.h +++ b/src/vppinfra/cache.h @@ -45,17 +45,9 @@ */ #ifndef CLIB_LOG2_CACHE_LINE_BYTES -#if defined(__x86_64__) || defined(__ARM_ARCH_7A__) || defined(__i386__) -#define CLIB_LOG2_CACHE_LINE_BYTES 6 -#endif - -#ifdef __aarch64__ -#define CLIB_LOG2_CACHE_LINE_BYTES 7 -#endif - -/* Default cache line size of 32 bytes. */ +/* Default cache line size of 64 bytes. */ #ifndef CLIB_LOG2_CACHE_LINE_BYTES -#define CLIB_LOG2_CACHE_LINE_BYTES 5 +#define CLIB_LOG2_CACHE_LINE_BYTES 6 #endif #endif /* CLIB_LOG2_CACHE_LINE_BYTES defined */