summaryrefslogtreecommitdiffstats
path: root/cpukit/score/cpu/powerpc/rtems
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2017-03-06 11:16:25 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2017-03-06 11:16:40 +0100
commitf61195b2f985efbfb645f37860a70c8af52619b4 (patch)
tree29bcc1258aef471a69953064a165905669df0657 /cpukit/score/cpu/powerpc/rtems
parentbsp/beatnik: Update due to API changes (diff)
downloadrtems-f61195b2f985efbfb645f37860a70c8af52619b4.tar.bz2
powerpc: Fix PPC_CONTEXT_VOLATILE_SIZE
Diffstat (limited to 'cpukit/score/cpu/powerpc/rtems')
-rw-r--r--cpukit/score/cpu/powerpc/rtems/score/cpu.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/score/cpu/powerpc/rtems/score/cpu.h b/cpukit/score/cpu/powerpc/rtems/score/cpu.h
index a8476674ba..f9a43b18b8 100644
--- a/cpukit/score/cpu/powerpc/rtems/score/cpu.h
+++ b/cpukit/score/cpu/powerpc/rtems/score/cpu.h
@@ -400,7 +400,7 @@ static inline ppc_context *ppc_get_context( const Context_Control *context )
#elif defined(PPC_MULTILIB_ALTIVEC)
#define PPC_CONTEXT_VOLATILE_SIZE (PPC_CONTEXT_OFFSET_VRSAVE + 4)
#else
- #define PPC_CONTEXT_VOLATILE_SIZE (PPC_CONTEXT_GPR_OFFSET( 32 ) + 4)
+ #define PPC_CONTEXT_VOLATILE_SIZE (PPC_CONTEXT_GPR_OFFSET( 32 ) + 8)
#endif
#ifdef RTEMS_SMP