From 4bc8d2e71774452e66c619dad98ccab6db8a2324 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Thu, 10 Apr 2014 10:58:27 +0200 Subject: 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. --- testsuites/smptests/smp02/init.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'testsuites/smptests/smp02/init.c') diff --git a/testsuites/smptests/smp02/init.c b/testsuites/smptests/smp02/init.c index c2cf5a39bd..05f6351b3a 100644 --- a/testsuites/smptests/smp02/init.c +++ b/testsuites/smptests/smp02/init.c @@ -40,7 +40,7 @@ rtems_task Init( locked_print_initialize(); - if ( rtems_smp_get_processor_count() == 1 ) { + if ( rtems_get_processor_count() == 1 ) { success(); } @@ -59,7 +59,7 @@ rtems_task Init( status = rtems_semaphore_obtain( Semaphore, RTEMS_WAIT, 0); directive_failed( status,"rtems_semaphore_obtain of SEM1\n"); - for ( i=1; i < rtems_smp_get_processor_count(); i++ ){ + for ( i=1; i < rtems_get_processor_count(); i++ ){ /* Create and start tasks for each CPU */ ch = '0' + i; -- cgit v1.2.3