diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2014-12-23 11:34:40 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2015-01-09 14:03:35 +0100 |
commit | 84d3b9b0a2008836c59791bf33803ed578e22fff (patch) | |
tree | 211acb93b2f95d7f59628649135b83709a01506d /cpukit/score/cpu/powerpc/rtems/score/powerpc.h | |
parent | powerpc: Delete _CPU_IRQ_info (diff) | |
download | rtems-84d3b9b0a2008836c59791bf33803ed578e22fff.tar.bz2 |
powerpc: Use PPC_DEFAULT_CACHE_LINE_SIZE
Use it for the default PPC_CACHE_ALIGNMENT. Use it for
PPC_STRUCTURE_ALIGNMENT.
Diffstat (limited to 'cpukit/score/cpu/powerpc/rtems/score/powerpc.h')
-rw-r--r-- | cpukit/score/cpu/powerpc/rtems/score/powerpc.h | 5 |
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. |