summaryrefslogtreecommitdiffstats
path: root/testsuites/smptests/smpcapture02/init.c
diff options
context:
space:
mode:
Diffstat (limited to 'testsuites/smptests/smpcapture02/init.c')
-rw-r--r--testsuites/smptests/smpcapture02/init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuites/smptests/smpcapture02/init.c b/testsuites/smptests/smpcapture02/init.c
index 9fc820ef6f..fa801218e6 100644
--- a/testsuites/smptests/smpcapture02/init.c
+++ b/testsuites/smptests/smpcapture02/init.c
@@ -301,7 +301,7 @@ static void Init(rtems_task_argument arg)
TEST_BEGIN();
/* Get the number of processors that we are using. */
- cpu_count = rtems_get_processor_count();
+ cpu_count = rtems_scheduler_get_processor_maximum();
sc = rtems_capture_open(50000, NULL);
rtems_test_assert(sc == RTEMS_SUCCESSFUL);