summaryrefslogtreecommitdiffstats
path: root/cpukit/score/src/smp.c
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2016-02-17 15:34:51 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2016-03-04 13:36:09 +0100
commitc284a1600086784e3040194dff393049f9386492 (patch)
treea014ecb541f30edcd78968304cc579eb12831511 /cpukit/score/src/smp.c
parentscore: Add Processor_mask, etc. (diff)
downloadrtems-c284a1600086784e3040194dff393049f9386492.tar.bz2
score: Rename Per_CPU_Control::started
Rename Per_CPU_Control::started into Per_CPU_Control::online to match standard nomenclature.
Diffstat (limited to 'cpukit/score/src/smp.c')
-rw-r--r--cpukit/score/src/smp.c4
1 files changed, 2 insertions, 2 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 );
}
}