summaryrefslogtreecommitdiffstats
path: root/c/src/exec/score/src/threadinitialize.c
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2001-01-08 19:16:26 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2001-01-08 19:16:26 +0000
commit81f6e8cca4664c225f7aeb0b9a5468a37fbc81a5 (patch)
treea200d485d576f87ad35979683651ec2980bc459b /c/src/exec/score/src/threadinitialize.c
parent9c49db4d6af57d99c60743dd41c3c6af427d3bb2 (diff)
downloadrtems-81f6e8cca4664c225f7aeb0b9a5468a37fbc81a5.tar.bz2
2001-01-08 Joel Sherrill <joel@OARcorp.com>
* src/threadinitialize.c: Fix my bad hack of Ralf's fp_area warning removal patch. :(
Diffstat (limited to 'c/src/exec/score/src/threadinitialize.c')
-rw-r--r--c/src/exec/score/src/threadinitialize.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/c/src/exec/score/src/threadinitialize.c b/c/src/exec/score/src/threadinitialize.c
index 606f083299..9617f24665 100644
--- a/c/src/exec/score/src/threadinitialize.c
+++ b/c/src/exec/score/src/threadinitialize.c
@@ -124,8 +124,10 @@ boolean _Thread_Initialize(
);
if ( !extensions_area ) {
+#if ( CPU_HARDWARE_FP == TRUE ) || ( CPU_SOFTWARE_FP == TRUE )
if ( fp_area )
(void) _Workspace_Free( fp_area );
+#endif
_Thread_Stack_Free( the_thread );
@@ -181,8 +183,10 @@ boolean _Thread_Initialize(
if ( extensions_area )
(void) _Workspace_Free( extensions_area );
+#if ( CPU_HARDWARE_FP == TRUE ) || ( CPU_SOFTWARE_FP == TRUE )
if ( fp_area )
(void) _Workspace_Free( fp_area );
+#endif
_Thread_Stack_Free( the_thread );