summaryrefslogtreecommitdiffstats
path: root/testsuites/smptests/smp05/init.c
diff options
context:
space:
mode:
Diffstat (limited to 'testsuites/smptests/smp05/init.c')
-rw-r--r--testsuites/smptests/smp05/init.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/testsuites/smptests/smp05/init.c b/testsuites/smptests/smp05/init.c
index bc2c6cd5ac..75033ff5ae 100644
--- a/testsuites/smptests/smp05/init.c
+++ b/testsuites/smptests/smp05/init.c
@@ -52,11 +52,11 @@ rtems_task Init(
locked_print_initialize();
TEST_BEGIN();
- if ( rtems_get_processor_count() == 1 ) {
+ if ( rtems_scheduler_get_processor_maximum() == 1 ) {
success();
}
- for ( i=0; i<rtems_get_processor_count() ; i++ ) {
+ for ( i=0; i<rtems_scheduler_get_processor_maximum() ; i++ ) {
ch = '1' + i;
status = rtems_task_create(