summaryrefslogtreecommitdiffstats
path: root/testsuites/smptests/smppsxaffinity01/init.c
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/smppsxaffinity01/init.c
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/smppsxaffinity01/init.c')
-rw-r--r--testsuites/smptests/smppsxaffinity01/init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuites/smptests/smppsxaffinity01/init.c b/testsuites/smptests/smppsxaffinity01/init.c
index 54851490a9..cb9e0b37d9 100644
--- a/testsuites/smptests/smppsxaffinity01/init.c
+++ b/testsuites/smptests/smppsxaffinity01/init.c
@@ -106,7 +106,7 @@ void Validate_attr(void )
rtems_test_assert( priority != -1 );
- cpus = rtems_smp_get_processor_count();
+ cpus = rtems_get_processor_count();
puts(
"Init - Validate pthread_attr_setaffinity_np and "
"pthread_attr_getaffinity_np"