summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2013-06-17 10:21:48 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2013-06-17 10:22:30 +0200
commit010e4058e5ed04104daae3ee6679f360b3f6c45f (patch)
tree77c59e5899380855aa6be3cdf5c715f746855a5d
parentRevert "sptests/sp02: Fix maximum task count" (diff)
downloadrtems-010e4058e5ed04104daae3ee6679f360b3f6c45f.tar.bz2
smptests/smpschedule01: Update due to API change
-rw-r--r--testsuites/smptests/smpschedule01/init.c2
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) {