summaryrefslogtreecommitdiffstats
path: root/bsps/powerpc/qoriq
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2019-04-11 08:54:29 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2019-04-11 09:19:12 +0200
commitad87de4a67d8ce7e75d0b844efc03b98c3ecda1a (patch)
tree107f99285b1d0744f0c6e59bf9014b21085a01d6 /bsps/powerpc/qoriq
parentscore: Rename _SMP_Processor_count (diff)
downloadrtems-ad87de4a67d8ce7e75d0b844efc03b98c3ecda1a.tar.bz2
score: Rename _SMP_Get_processor_count()
Rename _SMP_Get_processor_count() in _SMP_Get_processor_maximum() to be in line with the API level rtems_scheduler_get_processor_maximum(). Update #3732.
Diffstat (limited to 'bsps/powerpc/qoriq')
-rw-r--r--bsps/powerpc/qoriq/start/bsprestart.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bsps/powerpc/qoriq/start/bsprestart.c b/bsps/powerpc/qoriq/start/bsprestart.c
index 3118afd46b..3dc9d6ffce 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_Get_processor_count());
+ _SMP_barrier_Wait(&restart_barrier, &bs, _SMP_Get_processor_maximum());
cpu_self_index = rtems_scheduler_get_processor();
thread_index = cpu_self_index % QORIQ_THREAD_COUNT;