diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2013-08-13 09:54:25 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2013-08-13 14:48:42 +0200 |
commit | 2606fee394de9dd4f70b287627d0d24803e6c2ef (patch) | |
tree | 52f278abd86a4028780a32f1ca3af9854767c275 /cpukit/score/cpu/powerpc/ppc-context-validate.S | |
parent | bsps/arm: Use proper default priority for GIC (diff) | |
download | rtems-2606fee394de9dd4f70b287627d0d24803e6c2ef.tar.bz2 |
powerpc: Fix _CPU_Context_validate()
Diffstat (limited to 'cpukit/score/cpu/powerpc/ppc-context-validate.S')
-rw-r--r-- | cpukit/score/cpu/powerpc/ppc-context-validate.S | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/score/cpu/powerpc/ppc-context-validate.S b/cpukit/score/cpu/powerpc/ppc-context-validate.S index 0e3154e30a..65f78c594c 100644 --- a/cpukit/score/cpu/powerpc/ppc-context-validate.S +++ b/cpukit/score/cpu/powerpc/ppc-context-validate.S @@ -41,7 +41,7 @@ #define GPR30_OFFSET OFFSET(16) #define GPR31_OFFSET OFFSET(17) #define FRAME_SIZE \ - ((OFFSET(18) + CPU_STACK_ALIGNMENT - 1) & (CPU_STACK_ALIGNMENT - 1)) + ((OFFSET(18) + CPU_STACK_ALIGNMENT - 1) & ~(CPU_STACK_ALIGNMENT - 1)) .global _CPU_Context_validate |