summaryrefslogtreecommitdiffstats
path: root/cpukit/score/cpu/powerpc/rtems/score/cpu.h
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/score/cpu/powerpc/rtems/score/cpu.h')
-rw-r--r--cpukit/score/cpu/powerpc/rtems/score/cpu.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/cpukit/score/cpu/powerpc/rtems/score/cpu.h b/cpukit/score/cpu/powerpc/rtems/score/cpu.h
index b3115bb312..a3303afd44 100644
--- a/cpukit/score/cpu/powerpc/rtems/score/cpu.h
+++ b/cpukit/score/cpu/powerpc/rtems/score/cpu.h
@@ -598,7 +598,7 @@ void _CPU_Context_Initialize(
#define _CPU_Context_Initialize_fp( _destination ) \
{ \
- ((Context_Control_fp *) *((void **) _destination))->fpscr = PPC_INIT_FPSCR; \
+ (*(_destination))->fpscr = PPC_INIT_FPSCR; \
}
/* end of Context handler macros */
@@ -761,7 +761,7 @@ void _CPU_Context_restore(
*/
void _CPU_Context_save_fp(
- void **fp_context_ptr
+ Context_Control_fp **fp_context_ptr
);
/*
@@ -771,7 +771,7 @@ void _CPU_Context_save_fp(
*/
void _CPU_Context_restore_fp(
- void **fp_context_ptr
+ Context_Control_fp **fp_context_ptr
);
void _CPU_Fatal_error(