diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2007-04-17 05:57:57 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2007-04-17 05:57:57 +0000 |
commit | b60dc89330ceb9819020336314823963ca5c2af6 (patch) | |
tree | dc3a589ff70896de51b1f3d512fef697dcb91a4e /cpukit/score/cpu/powerpc/rtems/score/cpu.h | |
parent | 2007-04-17 Ralf Corsépius <ralf.corsepius@rtems.org> (diff) | |
download | rtems-b60dc89330ceb9819020336314823963ca5c2af6.tar.bz2 |
Use Context_Control_fp* instead of void* for fp_contexts.
Eliminate evil casts.
Diffstat (limited to 'cpukit/score/cpu/powerpc/rtems/score/cpu.h')
-rw-r--r-- | cpukit/score/cpu/powerpc/rtems/score/cpu.h | 6 |
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( |