summaryrefslogtreecommitdiffstats
path: root/testsuites/smptests/smpwakeafter01/init.c
diff options
context:
space:
mode:
Diffstat (limited to 'testsuites/smptests/smpwakeafter01/init.c')
-rw-r--r--testsuites/smptests/smpwakeafter01/init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuites/smptests/smpwakeafter01/init.c b/testsuites/smptests/smpwakeafter01/init.c
index 07e260e1a6..1545721a6f 100644
--- a/testsuites/smptests/smpwakeafter01/init.c
+++ b/testsuites/smptests/smpwakeafter01/init.c
@@ -75,7 +75,7 @@ static void test(void)
{
rtems_status_code sc;
uint32_t test_time_in_seconds = 10;
- uint32_t cpu_count = rtems_get_processor_count();
+ uint32_t cpu_count = rtems_scheduler_get_processor_maximum();
uint32_t i;
for (i = 0; i < cpu_count; ++i) {