summaryrefslogtreecommitdiffstats
path: root/cpukit
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2016-01-26 11:53:09 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2016-01-26 11:53:57 +0100
commit275806412b244a3c87402ea46d14182abb6b668b (patch)
tree6e23d270ec727ee188e6cad84dc381d6e03f55d0 /cpukit
parentdrvmgr: Move bsp_driver_level_hook() calls (diff)
downloadrtems-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.h4
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 )