summaryrefslogtreecommitdiffstats
path: root/testsuites/smptests/smpaffinity01
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/smpaffinity01
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/smpaffinity01')
-rw-r--r--testsuites/smptests/smpaffinity01/init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuites/smptests/smpaffinity01/init.c b/testsuites/smptests/smpaffinity01/init.c
index cc5f32130e..06d5719438 100644
--- a/testsuites/smptests/smpaffinity01/init.c
+++ b/testsuites/smptests/smpaffinity01/init.c
@@ -112,7 +112,7 @@ void Validate_affinity(void )
directive_failed( sc, "Get Affinity of Init Task" );
/* Get the number of processors that we are using. */
- cpu_count = rtems_smp_get_processor_count();
+ cpu_count = rtems_get_processor_count();
/* Fill the remaining cpus with med priority tasks */
puts( "Init - Create Medium priority tasks");