diff options
Diffstat (limited to 'cpukit/score/src/threadstartmultitasking.c')
-rw-r--r-- | cpukit/score/src/threadstartmultitasking.c | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/cpukit/score/src/threadstartmultitasking.c b/cpukit/score/src/threadstartmultitasking.c index 7fbdd84dbc..838cf2352a 100644 --- a/cpukit/score/src/threadstartmultitasking.c +++ b/cpukit/score/src/threadstartmultitasking.c @@ -37,28 +37,6 @@ void _Thread_Start_multitasking( void ) heir = _Thread_Get_heir_and_make_it_executing( cpu_self ); - /* - * Get the init task(s) running. - * - * Note: Thread_Dispatch() is normally used to dispatch threads. As - * part of its work, Thread_Dispatch() restores floating point - * state for the heir task. - * - * This code avoids Thread_Dispatch(), and so we have to restore - * (actually initialize) the floating point state "by hand". - * - * Ignore the CPU_USE_DEFERRED_FP_SWITCH because we must always - * switch in the first thread if it is FP. - */ -#if ( CPU_HARDWARE_FP == TRUE ) || ( CPU_SOFTWARE_FP == TRUE ) - /* - * don't need to worry about saving BSP's floating point state - */ - - if ( heir->fp_context != NULL ) - _Context_Restore_fp( &heir->fp_context ); -#endif - _Profiling_Thread_dispatch_disable( cpu_self, 0 ); #if defined(RTEMS_SMP) |