score: Rename rtems_smp_get_number_of_processors()

Rename in rtems_smp_get_processor_count().  Always provide
<rtems/score/smp.h> and <rtems/rtems/smp.h>.  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.
This commit is contained in:
Sebastian Huber
2013-06-14 14:26:34 +02:00
parent 5c78940d94
commit edde99bd21
28 changed files with 118 additions and 121 deletions

View File

@@ -36,7 +36,7 @@ rtems_task Init(
locked_print_initialize();
locked_printf( "\n\n*** TEST SMP05 ***\n" );
for ( i=0; i<rtems_smp_get_number_of_processors() ; i++ ) {
for ( i=0; i<rtems_smp_get_processor_count() ; i++ ) {
ch = '1' + i;
status = rtems_task_create(