diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-02-17 15:34:51 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-03-04 13:36:09 +0100 |
commit | c284a1600086784e3040194dff393049f9386492 (patch) | |
tree | a014ecb541f30edcd78968304cc579eb12831511 /cpukit/score/include/rtems/score/percpu.h | |
parent | score: Add Processor_mask, etc. (diff) | |
download | rtems-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/include/rtems/score/percpu.h')
-rw-r--r-- | cpukit/score/include/rtems/score/percpu.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cpukit/score/include/rtems/score/percpu.h b/cpukit/score/include/rtems/score/percpu.h index 4ad530f7d7..2b05b7815e 100644 --- a/cpukit/score/include/rtems/score/percpu.h +++ b/cpukit/score/include/rtems/score/percpu.h @@ -364,7 +364,7 @@ typedef struct Per_CPU_Control { * @brief Indicates if the processor has been successfully started via * _CPU_SMP_Start_processor(). */ - bool started; + bool online; #endif Per_CPU_Stats Stats; @@ -523,12 +523,12 @@ static inline struct _Thread_Control *_Per_CPU_Get_executing( return cpu->executing; } -static inline bool _Per_CPU_Is_processor_started( +static inline bool _Per_CPU_Is_processor_online( const Per_CPU_Control *cpu ) { #if defined( RTEMS_SMP ) - return cpu->started; + return cpu->online; #else (void) cpu; |