summaryrefslogtreecommitdiffstats
path: root/testsuites/smptests/smp02/init.c
diff options
context:
space:
mode:
Diffstat (limited to 'testsuites/smptests/smp02/init.c')
-rw-r--r--testsuites/smptests/smp02/init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuites/smptests/smp02/init.c b/testsuites/smptests/smp02/init.c
index 968d90c8af..a5ad24bdf5 100644
--- a/testsuites/smptests/smp02/init.c
+++ b/testsuites/smptests/smp02/init.c
@@ -45,7 +45,7 @@ rtems_task Init(
status = rtems_semaphore_obtain( Semaphore, RTEMS_WAIT, 0);
directive_failed( status,"rtems_semaphore_obtain of SEM1\n");
- for ( i=1; i < rtems_smp_get_number_of_processors(); i++ ){
+ for ( i=1; i < rtems_smp_get_processor_count(); i++ ){
/* Create and start tasks for each CPU */
ch = '0' + i;