diff options
Diffstat (limited to 'cpukit/score/src/threadloadenv.c')
-rw-r--r-- | cpukit/score/src/threadloadenv.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/cpukit/score/src/threadloadenv.c b/cpukit/score/src/threadloadenv.c index af1233f709..a625c27f0d 100644 --- a/cpukit/score/src/threadloadenv.c +++ b/cpukit/score/src/threadloadenv.c @@ -43,15 +43,17 @@ void _Thread_Load_environment( Thread_Control *the_thread ) { - boolean is_fp = FALSE; + boolean is_fp; #if ( CPU_HARDWARE_FP == TRUE ) || ( CPU_SOFTWARE_FP == TRUE ) if ( the_thread->Start.fp_context ) { the_thread->fp_context = the_thread->Start.fp_context; _Context_Initialize_fp( &the_thread->fp_context ); is_fp = TRUE; - } + } else #endif + is_fp = FALSE; + the_thread->do_post_task_switch_extension = FALSE; the_thread->is_preemptible = the_thread->Start.is_preemptible; |