summaryrefslogtreecommitdiffstats
path: root/testsuite/smp01/test_main.c
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2019-04-11 09:33:39 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2019-04-11 09:38:45 +0200
commit647dd08ae2aa69b935c2847ea450fb824322ecae (patch)
treebf8c13116880e3b4d852bb6fa068a2c11bb07e56 /testsuite/smp01/test_main.c
parentnfsclient: Fix for 64-bit targets (diff)
downloadrtems-libbsd-647dd08ae2aa69b935c2847ea450fb824322ecae.tar.bz2
Update due to API changes
Diffstat (limited to '')
-rw-r--r--testsuite/smp01/test_main.c2
1 files changed, 1 insertions, 1 deletions
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