summaryrefslogtreecommitdiffstats
path: root/cpukit/score/cpu/nios2/rtems/score/cpu.h
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/score/cpu/nios2/rtems/score/cpu.h')
-rw-r--r--cpukit/score/cpu/nios2/rtems/score/cpu.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/cpukit/score/cpu/nios2/rtems/score/cpu.h b/cpukit/score/cpu/nios2/rtems/score/cpu.h
index b15ddeb2c4..956294d303 100644
--- a/cpukit/score/cpu/nios2/rtems/score/cpu.h
+++ b/cpukit/score/cpu/nios2/rtems/score/cpu.h
@@ -65,10 +65,7 @@ extern "C" {
#define CPU_STACK_GROWS_UP FALSE
-/*
- * TODO: Run the timing tests and figure out if we profit from cache alignment.
- */
-#define CPU_STRUCTURE_ALIGNMENT
+#define CPU_STRUCTURE_ALIGNMENT __attribute__((section(".sdata"), aligned(32)))
#define CPU_BIG_ENDIAN FALSE