diff options
-rw-r--r-- | testsuites/smptests/smpschedule01/init.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuites/smptests/smpschedule01/init.c b/testsuites/smptests/smpschedule01/init.c index 9c5794c3e9..58ff3ebcc3 100644 --- a/testsuites/smptests/smpschedule01/init.c +++ b/testsuites/smptests/smpschedule01/init.c @@ -67,7 +67,7 @@ static void task(rtems_task_argument arg) static bool is_per_cpu_state_ok(void) { bool ok = true; - uint32_t n = rtems_processors_get_count(); + uint32_t n = rtems_smp_get_processor_count(); uint32_t i; for (i = 0; i < n; ++i) { |