summaryrefslogtreecommitdiffstats
path: root/testsuites/smptests/smpmigration01
diff options
context:
space:
mode:
Diffstat (limited to 'testsuites/smptests/smpmigration01')
-rw-r--r--testsuites/smptests/smpmigration01/init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuites/smptests/smpmigration01/init.c b/testsuites/smptests/smpmigration01/init.c
index 476a12a0cd..6ee263f35c 100644
--- a/testsuites/smptests/smpmigration01/init.c
+++ b/testsuites/smptests/smpmigration01/init.c
@@ -227,7 +227,7 @@ static void Init(rtems_task_argument arg)
rtems_print_printer_fprintf_putc(&rtems_test_printer);
TEST_BEGIN();
- if (rtems_get_processor_count() >= 2) {
+ if (rtems_scheduler_get_processor_maximum() >= 2) {
test();
}