diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2019-04-11 08:52:36 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2019-04-11 09:19:12 +0200 |
commit | cfcd6dc98cad1dd677ac60ad80e7ef3aa39b926b (patch) | |
tree | f013c01b48b82b4ab365a28bcf22181fc9c98aa5 /cpukit/score/src/smp.c | |
parent | bsp/xilinx-zynqmp: Implement Ultra96 target (diff) | |
download | rtems-cfcd6dc98cad1dd677ac60ad80e7ef3aa39b926b.tar.bz2 |
score: Rename _SMP_Processor_count
Rename _SMP_Processor_count in _SMP_Processor_maximum to be in line with
the API level rtems_scheduler_get_processor_maximum().
Update #3732.
Diffstat (limited to 'cpukit/score/src/smp.c')
-rw-r--r-- | cpukit/score/src/smp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpukit/score/src/smp.c b/cpukit/score/src/smp.c index 7864640829..3d35154817 100644 --- a/cpukit/score/src/smp.c +++ b/cpukit/score/src/smp.c @@ -30,7 +30,7 @@ Processor_mask _SMP_Online_processors; -uint32_t _SMP_Processor_count; +uint32_t _SMP_Processor_maximum; static const Scheduler_Assignment *_Scheduler_Get_initial_assignment( uint32_t cpu_index @@ -126,7 +126,7 @@ void _SMP_Handler_initialize( void ) cpu_count = _CPU_SMP_Initialize(); cpu_count = cpu_count < cpu_max ? cpu_count : cpu_max; - _SMP_Processor_count = cpu_count; + _SMP_Processor_maximum = cpu_count; for ( cpu_index = cpu_count ; cpu_index < cpu_max; ++cpu_index ) { const Scheduler_Assignment *assignment; |