From edde99bd213d20c55430dd29089e0d8a807ab6d8 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Fri, 14 Jun 2013 14:26:34 +0200 Subject: score: Rename rtems_smp_get_number_of_processors() Rename in rtems_smp_get_processor_count(). Always provide and . Add _SMP_Get_processor_count(). This function will be a compile time constant defined to be one on uni-processor configurations. This allows iterations over all processors without overhead on uni-processor configurations. --- testsuites/smptests/smp01/init.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'testsuites/smptests/smp01') diff --git a/testsuites/smptests/smp01/init.c b/testsuites/smptests/smp01/init.c index af2a36744a..b47f1b4f50 100644 --- a/testsuites/smptests/smp01/init.c +++ b/testsuites/smptests/smp01/init.c @@ -44,12 +44,12 @@ rtems_task Init( locked_printf( "\n\n*** SMP01 TEST ***\n" ); /* Initialize the TaskRan array */ - for ( i=0; i