<div dir="ltr">Looks good. </div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Mar 3, 2016 at 8:47 AM, Sebastian Huber <span dir="ltr"><<a href="mailto:sebastian.huber@embedded-brains.de" target="_blank">sebastian.huber@embedded-brains.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Rename Per_CPU_Control::started into Per_CPU_Control::online to match<br>
standard nomenclature.<br>
---<br>
 cpukit/score/include/rtems/score/percpu.h | 6 +++---<br>
 cpukit/score/src/smp.c                    | 4 ++--<br>
 cpukit/score/src/threadcreateidle.c       | 2 +-<br>
 3 files changed, 6 insertions(+), 6 deletions(-)<br>
<br>
diff --git a/cpukit/score/include/rtems/score/percpu.h b/cpukit/score/include/rtems/score/percpu.h<br>
index 4ad530f..2b05b78 100644<br>
--- a/cpukit/score/include/rtems/score/percpu.h<br>
+++ b/cpukit/score/include/rtems/score/percpu.h<br>
@@ -364,7 +364,7 @@ typedef struct Per_CPU_Control {<br>
      * @brief Indicates if the processor has been successfully started via<br>
      * _CPU_SMP_Start_processor().<br>
      */<br>
-    bool started;<br>
+    bool online;<br>
   #endif<br>
<br>
   Per_CPU_Stats Stats;<br>
@@ -523,12 +523,12 @@ static inline struct _Thread_Control *_Per_CPU_Get_executing(<br>
   return cpu->executing;<br>
 }<br>
<br>
-static inline bool _Per_CPU_Is_processor_started(<br>
+static inline bool _Per_CPU_Is_processor_online(<br>
   const Per_CPU_Control *cpu<br>
 )<br>
 {<br>
 #if defined( RTEMS_SMP )<br>
-  return cpu->started;<br>
+  return cpu->online;<br>
 #else<br>
   (void) cpu;<br>
<br>
diff --git a/cpukit/score/src/smp.c b/cpukit/score/src/smp.c<br>
index a5562eb..b2713f1 100644<br>
--- a/cpukit/score/src/smp.c<br>
+++ b/cpukit/score/src/smp.c<br>
@@ -61,7 +61,7 @@ static void _SMP_Start_processors( uint32_t cpu_count )<br>
       }<br>
     }<br>
<br>
-    cpu->started = started;<br>
+    cpu->online = started;<br>
<br>
     if ( started ) {<br>
       Scheduler_Context *context =<br>
@@ -119,7 +119,7 @@ void _SMP_Request_start_multitasking( void )<br>
   for ( cpu_index = 0 ; cpu_index < cpu_count ; ++cpu_index ) {<br>
     Per_CPU_Control *cpu = _Per_CPU_Get_by_index( cpu_index );<br>
<br>
-    if ( _Per_CPU_Is_processor_started( cpu ) ) {<br>
+    if ( _Per_CPU_Is_processor_online( cpu ) ) {<br>
       _Per_CPU_State_change( cpu, PER_CPU_STATE_REQUEST_START_MULTITASKING );<br>
     }<br>
   }<br>
diff --git a/cpukit/score/src/threadcreateidle.c b/cpukit/score/src/threadcreateidle.c<br>
index a07e238..5608040 100644<br>
--- a/cpukit/score/src/threadcreateidle.c<br>
+++ b/cpukit/score/src/threadcreateidle.c<br>
@@ -90,7 +90,7 @@ void _Thread_Create_idle( void )<br>
   for ( cpu_index = 0 ; cpu_index < cpu_count ; ++cpu_index ) {<br>
     Per_CPU_Control *cpu = _Per_CPU_Get_by_index( cpu_index );<br>
<br>
-    if ( _Per_CPU_Is_processor_started( cpu ) ) {<br>
+    if ( _Per_CPU_Is_processor_online( cpu ) ) {<br>
       _Thread_Create_idle_for_cpu( cpu );<br>
     }<br>
   }<br>
<span class="HOEnZb"><font color="#888888">--<br>
1.8.4.5<br>
<br>
_______________________________________________<br>
devel mailing list<br>
<a href="mailto:devel@rtems.org">devel@rtems.org</a><br>
<a href="http://lists.rtems.org/mailman/listinfo/devel" rel="noreferrer" target="_blank">http://lists.rtems.org/mailman/listinfo/devel</a><br>
</font></span></blockquote></div><br></div>