summaryrefslogtreecommitdiffstats
path: root/cpukit/score/cpu/sparc
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2007-04-17 04:49:05 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2007-04-17 04:49:05 +0000
commitada7b9e142473199ae41aef86360931c90252944 (patch)
treeeb2fd6888044b57a955ff8e0d2daa0ebb66a18ad /cpukit/score/cpu/sparc
parentUse Context_Control_fp* instead of void* for fp_contexts. Eliminate evil casts. (diff)
downloadrtems-ada7b9e142473199ae41aef86360931c90252944.tar.bz2
Use Context_Control_fp* instead of void* for fp_contexts. Eliminate evil casts.
Diffstat (limited to 'cpukit/score/cpu/sparc')
-rw-r--r--cpukit/score/cpu/sparc/rtems/score/cpu.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/cpukit/score/cpu/sparc/rtems/score/cpu.h b/cpukit/score/cpu/sparc/rtems/score/cpu.h
index 27ea69f0b1..900b258d3e 100644
--- a/cpukit/score/cpu/sparc/rtems/score/cpu.h
+++ b/cpukit/score/cpu/sparc/rtems/score/cpu.h
@@ -811,7 +811,7 @@ void _CPU_Context_Initialize(
#define _CPU_Context_Initialize_fp( _destination ) \
do { \
- *((Context_Control_fp *) *((void **) _destination)) = _CPU_Null_fp_context; \
+ *(*(_destination)) = _CPU_Null_fp_context; \
} while (0)
/* end of Context handler macros */
@@ -944,7 +944,7 @@ void _CPU_Context_restore(
*/
void _CPU_Context_save_fp(
- void **fp_context_ptr
+ Context_Control_fp **fp_context_ptr
);
/*
@@ -954,7 +954,7 @@ void _CPU_Context_save_fp(
*/
void _CPU_Context_restore_fp(
- void **fp_context_ptr
+ Context_Control_fp **fp_context_ptr
);
/*