mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-08 00:23:14 +00:00
smptests/smpschedule01: Update due to API change
This commit is contained in:
@@ -67,7 +67,7 @@ static void task(rtems_task_argument arg)
|
|||||||
static bool is_per_cpu_state_ok(void)
|
static bool is_per_cpu_state_ok(void)
|
||||||
{
|
{
|
||||||
bool ok = true;
|
bool ok = true;
|
||||||
uint32_t n = rtems_processors_get_count();
|
uint32_t n = rtems_smp_get_processor_count();
|
||||||
uint32_t i;
|
uint32_t i;
|
||||||
|
|
||||||
for (i = 0; i < n; ++i) {
|
for (i = 0; i < n; ++i) {
|
||||||
|
|||||||
Reference in New Issue
Block a user