From 275806412b244a3c87402ea46d14182abb6b668b Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Tue, 26 Jan 2016 11:53:09 +0100 Subject: sparc: Adjust CPU_CACHE_LINE_BYTES for LEON3 Fix for commit a8865f8b415788c4e9bb7f68e38d41aec0e485db. --- cpukit/score/cpu/sparc/rtems/score/cpu.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cpukit/score/cpu/sparc/rtems/score/cpu.h b/cpukit/score/cpu/sparc/rtems/score/cpu.h index 4170cb9946..4dd57bf4b5 100644 --- a/cpukit/score/cpu/sparc/rtems/score/cpu.h +++ b/cpukit/score/cpu/sparc/rtems/score/cpu.h @@ -210,8 +210,8 @@ extern "C" { */ #define CPU_STACK_GROWS_UP FALSE -/* FIXME: Is this the right value? */ -#define CPU_CACHE_LINE_BYTES 32 +/* LEON3 systems may use a cache line size of 64 */ +#define CPU_CACHE_LINE_BYTES 64 #define CPU_STRUCTURE_ALIGNMENT RTEMS_ALIGNED( CPU_CACHE_LINE_BYTES ) -- cgit v1.2.3