summaryrefslogtreecommitdiffstats
path: root/testsuites/smptests/smpopenmp01/init.c
diff options
context:
space:
mode:
Diffstat (limited to 'testsuites/smptests/smpopenmp01/init.c')
-rw-r--r--testsuites/smptests/smpopenmp01/init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuites/smptests/smpopenmp01/init.c b/testsuites/smptests/smpopenmp01/init.c
index 5d4ab1243d..802f5bb05c 100644
--- a/testsuites/smptests/smpopenmp01/init.c
+++ b/testsuites/smptests/smpopenmp01/init.c
@@ -239,7 +239,7 @@ static uint32_t find_free_cpu(test_context *ctx)
uint32_t i;
uint32_t n;
- n = rtems_get_processor_count();
+ n = rtems_scheduler_get_processor_maximum();
pthread_mutex_lock(&ctx->mtx);