diff options
-rw-r--r-- | cpukit/score/src/smp.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/cpukit/score/src/smp.c b/cpukit/score/src/smp.c index 2f86c6e175..af0eb183e1 100644 --- a/cpukit/score/src/smp.c +++ b/cpukit/score/src/smp.c @@ -111,7 +111,9 @@ void _SMP_Request_start_multitasking( void ) for ( cpu_index = 0 ; cpu_index < cpu_count ; ++cpu_index ) { Per_CPU_Control *cpu = _Per_CPU_Get_by_index( cpu_index ); - _Per_CPU_State_change( cpu, PER_CPU_STATE_REQUEST_START_MULTITASKING ); + if ( _Per_CPU_Is_processor_started( cpu ) ) { + _Per_CPU_State_change( cpu, PER_CPU_STATE_REQUEST_START_MULTITASKING ); + } } } |