From cfcd6dc98cad1dd677ac60ad80e7ef3aa39b926b Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Thu, 11 Apr 2019 08:52:36 +0200 Subject: 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. --- cpukit/score/src/smp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cpukit/score') 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; -- cgit v1.2.3