summaryrefslogtreecommitdiffstats
path: root/testsuites/smptests/smpstrongapa01/init.c
diff options
context:
space:
mode:
Diffstat (limited to 'testsuites/smptests/smpstrongapa01/init.c')
-rw-r--r--testsuites/smptests/smpstrongapa01/init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuites/smptests/smpstrongapa01/init.c b/testsuites/smptests/smpstrongapa01/init.c
index aae3ffa56e..b4552d520e 100644
--- a/testsuites/smptests/smpstrongapa01/init.c
+++ b/testsuites/smptests/smpstrongapa01/init.c
@@ -314,7 +314,7 @@ static void Init(rtems_task_argument arg)
{
TEST_BEGIN();
- if (rtems_get_processor_count() == CPU_COUNT) {
+ if (rtems_scheduler_get_processor_maximum() == CPU_COUNT) {
test();
} else {
puts("warning: wrong processor count to run the test");