diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2014-04-10 10:58:27 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2014-04-11 08:52:54 +0200 |
commit | 4bc8d2e71774452e66c619dad98ccab6db8a2324 (patch) | |
tree | 9bcbf057fa8bd77816542cab020b9348ba516062 /testsuites/smptests/smpscheduler01 | |
parent | score: Statically initialize IO manager (diff) | |
download | rtems-4bc8d2e71774452e66c619dad98ccab6db8a2324.tar.bz2 |
rtems: Rename rtems_smp_get_processor_count()
Rename rtems_smp_get_processor_count() in rtems_get_processor_count().
Make rtems_get_processor_count() a function in uni-processor
configurations to enable ABI compatibility with SMP configurations.
Diffstat (limited to 'testsuites/smptests/smpscheduler01')
-rw-r--r-- | testsuites/smptests/smpscheduler01/init.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuites/smptests/smpscheduler01/init.c b/testsuites/smptests/smpscheduler01/init.c index a0d37602b3..10ac735ca2 100644 --- a/testsuites/smptests/smpscheduler01/init.c +++ b/testsuites/smptests/smpscheduler01/init.c @@ -69,7 +69,7 @@ static void task(rtems_task_argument arg) static bool is_per_cpu_state_ok(void) { bool ok = true; - uint32_t n = rtems_smp_get_processor_count(); + uint32_t n = rtems_get_processor_count(); uint32_t i; for (i = 0; i < n; ++i) { |