diff mbox series

[v1,2/3] linux-gen: abi: set ODP_CACHE_LINE_SIZE to 128 on ppc64le

Message ID 1536051608-6640-3-git-send-email-odpbot@yandex.ru
State Superseded
Headers show
Series [v1,1/3] include: abi: set ODP_CACHE_LINE_SIZE to 128 on ppc64le | expand

Commit Message

Github ODP bot Sept. 4, 2018, 9 a.m. UTC
From: Dmitry Eremin-Solenikov <dmitry.ereminsolenikov@linaro.org>


POWER8 has 128-byte cache lines

Signed-off-by: Dmitry Eremin-Solenikov <dmitry.ereminsolenikov@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
 **/
 platform/linux-generic/arch/powerpc/odp/api/abi/cpu.h | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/platform/linux-generic/arch/powerpc/odp/api/abi/cpu.h b/platform/linux-generic/arch/powerpc/odp/api/abi/cpu.h
index 90bb87875..9e3338d60 100644
--- a/platform/linux-generic/arch/powerpc/odp/api/abi/cpu.h
+++ b/platform/linux-generic/arch/powerpc/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>