diff options
Diffstat (limited to 'cpukit/score/src')
-rw-r--r-- | cpukit/score/src/smp.c | 4 | ||||
-rw-r--r-- | cpukit/score/src/threadcreateidle.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/cpukit/score/src/smp.c b/cpukit/score/src/smp.c index a5562eb7bf..b2713f1272 100644 --- a/cpukit/score/src/smp.c +++ b/cpukit/score/src/smp.c @@ -61,7 +61,7 @@ static void _SMP_Start_processors( uint32_t cpu_count ) } } - cpu->started = started; + cpu->online = started; if ( started ) { Scheduler_Context *context = @@ -119,7 +119,7 @@ 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 ); - if ( _Per_CPU_Is_processor_started( cpu ) ) { + if ( _Per_CPU_Is_processor_online( cpu ) ) { _Per_CPU_State_change( cpu, PER_CPU_STATE_REQUEST_START_MULTITASKING ); } } diff --git a/cpukit/score/src/threadcreateidle.c b/cpukit/score/src/threadcreateidle.c index a07e238293..560804082b 100644 --- a/cpukit/score/src/threadcreateidle.c +++ b/cpukit/score/src/threadcreateidle.c @@ -90,7 +90,7 @@ void _Thread_Create_idle( void ) for ( cpu_index = 0 ; cpu_index < cpu_count ; ++cpu_index ) { Per_CPU_Control *cpu = _Per_CPU_Get_by_index( cpu_index ); - if ( _Per_CPU_Is_processor_started( cpu ) ) { + if ( _Per_CPU_Is_processor_online( cpu ) ) { _Thread_Create_idle_for_cpu( cpu ); } } |