From c6261f97870562d4c797cfb1ff1ba0affb85a916 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Thu, 11 Apr 2019 09:33:39 +0200 Subject: Update due to API changes --- testsuite/smp01/test_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'testsuite/smp01') diff --git a/testsuite/smp01/test_main.c b/testsuite/smp01/test_main.c index a20d17c4..583fe906 100644 --- a/testsuite/smp01/test_main.c +++ b/testsuite/smp01/test_main.c @@ -115,7 +115,7 @@ busy(void) static uint32_t get_obj_count(void) { - return ((rtems_get_processor_count() + 1) / 2); + return ((rtems_scheduler_get_processor_maximum() + 1) / 2); } static void -- cgit v1.2.3