diff options
-rw-r--r-- | cpukit/score/cpu/mips/rtems/score/cpu.h | 6 | ||||
-rw-r--r-- | cpukit/score/cpu/nios2/rtems/score/cpu.h | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/cpukit/score/cpu/mips/rtems/score/cpu.h b/cpukit/score/cpu/mips/rtems/score/cpu.h index 417738c189..7dd2862460 100644 --- a/cpukit/score/cpu/mips/rtems/score/cpu.h +++ b/cpukit/score/cpu/mips/rtems/score/cpu.h @@ -951,7 +951,7 @@ void _CPU_ISR_Set_level( uint32_t ); /* in cpu.c */ #if ( CPU_HARDWARE_FP == TRUE ) #define _CPU_Context_Initialize_fp( _destination ) \ { \ - *((Context_Control_fp *) *((void **) _destination)) = _CPU_Null_fp_context; \ + *(*(_destination)) = _CPU_Null_fp_context; \ } #endif @@ -1166,7 +1166,7 @@ void _CPU_Context_restore( */ void _CPU_Context_save_fp( - void **fp_context_ptr + Context_Control_fp **fp_context_ptr ); /* @@ -1176,7 +1176,7 @@ void _CPU_Context_save_fp( */ void _CPU_Context_restore_fp( - void **fp_context_ptr + Context_Control_fp **fp_context_ptr ); /* The following routine swaps the endian format of an unsigned int. diff --git a/cpukit/score/cpu/nios2/rtems/score/cpu.h b/cpukit/score/cpu/nios2/rtems/score/cpu.h index f05641def9..a2ee099552 100644 --- a/cpukit/score/cpu/nios2/rtems/score/cpu.h +++ b/cpukit/score/cpu/nios2/rtems/score/cpu.h @@ -1031,7 +1031,7 @@ uint32_t _CPU_ISR_Get_level( void ); #else #define _CPU_Context_Initialize_fp( _destination ) \ { \ - *((Context_Control_fp *) *((void **) _destination)) = _CPU_Null_fp_context; \ + *(*(_destination)) = _CPU_Null_fp_context; \ } #endif @@ -1323,7 +1323,7 @@ void _CPU_Context_restore( * XXX document implementation including references if appropriate */ void _CPU_Context_save_fp( - void **fp_context_ptr + Context_Control_fp **fp_context_ptr ); /** @@ -1341,7 +1341,7 @@ void _CPU_Context_save_fp( * XXX document implementation including references if appropriate */ void _CPU_Context_restore_fp( - void **fp_context_ptr + Context_Control_fp **fp_context_ptr ); /** |