[rtems commit] smptests/smpschedule01: Update due to API change

Sebastian Huber sebh at rtems.org
Mon Jun 17 08:16:39 UTC 2013


Module:    rtems
Branch:    master
Commit:    010e4058e5ed04104daae3ee6679f360b3f6c45f
Changeset: http://git.rtems.org/rtems/commit/?id=010e4058e5ed04104daae3ee6679f360b3f6c45f

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Mon Jun 17 10:21:48 2013 +0200

smptests/smpschedule01: Update due to API change

---

 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 9c5794c..58ff3eb 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) {




More information about the vc mailing list