summaryrefslogtreecommitdiffstats
path: root/testsuites/smptests/smpcapture01/init.c
diff options
context:
space:
mode:
Diffstat (limited to 'testsuites/smptests/smpcapture01/init.c')
-rw-r--r--testsuites/smptests/smpcapture01/init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuites/smptests/smpcapture01/init.c b/testsuites/smptests/smpcapture01/init.c
index 52f762eda2..1e3e797ca8 100644
--- a/testsuites/smptests/smpcapture01/init.c
+++ b/testsuites/smptests/smpcapture01/init.c
@@ -103,7 +103,7 @@ static void test(void)
rtems_task_priority priority;
/* Get the number of processors that we are using. */
- cpu_count = rtems_get_processor_count();
+ cpu_count = rtems_scheduler_get_processor_maximum();
if (cpu_count != 4) {
printf("Test requires a minimum of 4 cores\n");
return;