summaryrefslogtreecommitdiffstats
path: root/testsuites/smptests/smp03/init.c
diff options
context:
space:
mode:
Diffstat (limited to 'testsuites/smptests/smp03/init.c')
-rw-r--r--testsuites/smptests/smp03/init.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/testsuites/smptests/smp03/init.c b/testsuites/smptests/smp03/init.c
index 0d0bb620d6..3acdfe981d 100644
--- a/testsuites/smptests/smp03/init.c
+++ b/testsuites/smptests/smp03/init.c
@@ -57,13 +57,13 @@ rtems_task Init(
locked_print_initialize();
- if ( rtems_smp_get_processor_count() == 1 ) {
+ if ( rtems_get_processor_count() == 1 ) {
success();
}
/* Initialize the TaskRan array */
TaskRan[0] = true;
- for ( i=1; i<rtems_smp_get_processor_count() ; i++ ) {
+ for ( i=1; i<rtems_get_processor_count() ; i++ ) {
TaskRan[i] = false;
}
@@ -71,7 +71,7 @@ rtems_task Init(
PrintTaskInfo( "Init" );
/* for each remaining cpu create and start a task */
- for ( i=1; i < rtems_smp_get_processor_count(); i++ ){
+ for ( i=1; i < rtems_get_processor_count(); i++ ){
ch = '0' + i;
@@ -101,12 +101,12 @@ rtems_task Init(
RTEMS_DEFAULT_ATTRIBUTES,
&id
);
- status = rtems_task_start(id,Test_task,rtems_smp_get_processor_count());
+ status = rtems_task_start(id,Test_task,rtems_get_processor_count());
/* Wait on all tasks to run */
while (1) {
TestFinished = true;
- for ( i=1; i < (rtems_smp_get_processor_count()+1) ; i++ ) {
+ for ( i=1; i < (rtems_get_processor_count()+1) ; i++ ) {
if (TaskRan[i] == false)
TestFinished = false;
}