From: Dmitry Eremin-Solenikov <dmitry.ereminsoleni...@linaro.org>

POWER8 has 128-byte cache lines

Signed-off-by: Dmitry Eremin-Solenikov <dmitry.ereminsoleni...@linaro.org>
---
/** Email created from pull request 692 (lumag:ppc64le-cache)
 ** https://github.com/Linaro/odp/pull/692
 ** Patch: https://github.com/Linaro/odp/pull/692.patch
 ** Base sha: 0a5d67beda902557056d5b5146d8cbe86e5001b0
 ** Merge commit sha: f4a8c89ac59d5420cd107b44c742c4e51d3d086a
 **/
 include/odp/arch/power64-linux/odp/api/abi/cpu.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/include/odp/arch/power64-linux/odp/api/abi/cpu.h 
b/include/odp/arch/power64-linux/odp/api/abi/cpu.h
index 90bb87875..9e3338d60 100644
--- a/include/odp/arch/power64-linux/odp/api/abi/cpu.h
+++ b/include/odp/arch/power64-linux/odp/api/abi/cpu.h
@@ -5,4 +5,5 @@
  */
 
 #define _ODP_NEED_GENERIC_CPU_PAUSE
+#define ODP_CACHE_LINE_SIZE 128
 #include <odp/api/abi-default/cpu.h>

Reply via email to