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. --- bsps/powerpc/qoriq/start/bsprestart.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bsps/powerpc/qoriq/start') diff --git a/bsps/powerpc/qoriq/start/bsprestart.c b/bsps/powerpc/qoriq/start/bsprestart.c index 228d74c231..3118afd46b 100644 --- a/bsps/powerpc/qoriq/start/bsprestart.c +++ b/bsps/powerpc/qoriq/start/bsprestart.c @@ -67,7 +67,7 @@ static void restart_interrupt(void *arg) (void) level; _SMP_barrier_State_initialize(&bs); - _SMP_barrier_Wait(&restart_barrier, &bs, _SMP_Processor_count); + _SMP_barrier_Wait(&restart_barrier, &bs, _SMP_Get_processor_count()); cpu_self_index = rtems_scheduler_get_processor(); thread_index = cpu_self_index % QORIQ_THREAD_COUNT; -- cgit v1.2.3