summaryrefslogtreecommitdiffstats
path: root/testsuites/smptests/smpschedaffinity03/init.c
diff options
context:
space:
mode:
Diffstat (limited to 'testsuites/smptests/smpschedaffinity03/init.c')
-rw-r--r--testsuites/smptests/smpschedaffinity03/init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuites/smptests/smpschedaffinity03/init.c b/testsuites/smptests/smpschedaffinity03/init.c
index 5f63d5ff80..6b3fb5923d 100644
--- a/testsuites/smptests/smpschedaffinity03/init.c
+++ b/testsuites/smptests/smpschedaffinity03/init.c
@@ -43,7 +43,7 @@ static void test(void)
cpu_set_t cpuset;
/* Get the number of processors that we are using. */
- cpu_count = rtems_get_processor_count();
+ cpu_count = rtems_scheduler_get_processor_maximum();
id = rtems_task_self();