diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-01-26 11:53:09 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-01-26 11:53:57 +0100 |
commit | 275806412b244a3c87402ea46d14182abb6b668b (patch) | |
tree | 6e23d270ec727ee188e6cad84dc381d6e03f55d0 /cpukit | |
parent | drvmgr: Move bsp_driver_level_hook() calls (diff) | |
download | rtems-275806412b244a3c87402ea46d14182abb6b668b.tar.bz2 |
sparc: Adjust CPU_CACHE_LINE_BYTES for LEON3
Fix for commit a8865f8b415788c4e9bb7f68e38d41aec0e485db.
Diffstat (limited to 'cpukit')
-rw-r--r-- | cpukit/score/cpu/sparc/rtems/score/cpu.h | 4 |
1 files 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 ) |