smp: Move secondary CPU initialization request

Do not assume that the scheduler selects the main processor for the
initialization thread.
This commit is contained in:
Sebastian Huber
2013-05-29 11:06:08 +02:00
parent 3148438e1e
commit e071c18322
2 changed files with 4 additions and 6 deletions
+4
View File
@@ -223,6 +223,10 @@ void rtems_initialize_start_multitasking(void)
_System_state_Set( SYSTEM_STATE_BEGIN_MULTITASKING );
#ifdef RTEMS_SMP
_SMP_Request_other_cores_to_perform_first_context_switch();
#endif
_Thread_Start_multitasking();
/*******************************************************************