summaryrefslogtreecommitdiffstats
path: root/cpukit/score/cpu/powerpc/rtems/score/powerpc.h
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/score/cpu/powerpc/rtems/score/powerpc.h')
-rw-r--r--cpukit/score/cpu/powerpc/rtems/score/powerpc.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/cpukit/score/cpu/powerpc/rtems/score/powerpc.h b/cpukit/score/cpu/powerpc/rtems/score/powerpc.h
index 4a7b3aa6af..ee5484bc63 100644
--- a/cpukit/score/cpu/powerpc/rtems/score/powerpc.h
+++ b/cpukit/score/cpu/powerpc/rtems/score/powerpc.h
@@ -73,7 +73,10 @@ extern "C" {
#endif
#define PPC_ALIGNMENT 8
-#define PPC_STRUCTURE_ALIGNMENT 32
+
+#define PPC_DEFAULT_CACHE_LINE_SIZE 32
+
+#define PPC_STRUCTURE_ALIGNMENT PPC_DEFAULT_CACHE_LINE_SIZE
/*
* Application binary interfaces.