From f61195b2f985efbfb645f37860a70c8af52619b4 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Mon, 6 Mar 2017 11:16:25 +0100 Subject: powerpc: Fix PPC_CONTEXT_VOLATILE_SIZE --- cpukit/score/cpu/powerpc/rtems/score/cpu.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cpukit/score/cpu/powerpc/rtems/score') 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 -- cgit v1.2.3