summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2013-08-13 09:54:25 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2013-08-13 14:48:42 +0200
commit2606fee394de9dd4f70b287627d0d24803e6c2ef (patch)
tree52f278abd86a4028780a32f1ca3af9854767c275
parentbsps/arm: Use proper default priority for GIC (diff)
downloadrtems-2606fee394de9dd4f70b287627d0d24803e6c2ef.tar.bz2
powerpc: Fix _CPU_Context_validate()
-rw-r--r--cpukit/score/cpu/powerpc/ppc-context-validate.S2
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