summaryrefslogtreecommitdiffstats
path: root/testsuites/smptests/smpatomic01
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2014-04-10 10:58:27 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2014-04-11 08:52:54 +0200
commit4bc8d2e71774452e66c619dad98ccab6db8a2324 (patch)
tree9bcbf057fa8bd77816542cab020b9348ba516062 /testsuites/smptests/smpatomic01
parentscore: Statically initialize IO manager (diff)
downloadrtems-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/smpatomic01')
-rw-r--r--testsuites/smptests/smpatomic01/init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuites/smptests/smpatomic01/init.c b/testsuites/smptests/smpatomic01/init.c
index e055ea4c5a..283200bd5d 100644
--- a/testsuites/smptests/smpatomic01/init.c
+++ b/testsuites/smptests/smpatomic01/init.c
@@ -446,7 +446,7 @@ static void test(void)
test_static_and_dynamic_initialization();
- ctx->worker_count = rtems_smp_get_processor_count();
+ ctx->worker_count = rtems_get_processor_count();
sc = rtems_timer_create(
rtems_build_name('S', 'T', 'O', 'P'),