summaryrefslogtreecommitdiffstats
path: root/testsuites/smptests/smp01/tasks.c
diff options
context:
space:
mode:
Diffstat (limited to 'testsuites/smptests/smp01/tasks.c')
-rw-r--r--testsuites/smptests/smp01/tasks.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuites/smptests/smp01/tasks.c b/testsuites/smptests/smp01/tasks.c
index b8c766f1c8..ae75b718dc 100644
--- a/testsuites/smptests/smp01/tasks.c
+++ b/testsuites/smptests/smp01/tasks.c
@@ -28,7 +28,7 @@ rtems_task Test_task(
rtems_test_assert( p != NULL );
/* Get the CPU Number */
- cpu_num = rtems_get_current_processor();
+ cpu_num = rtems_scheduler_get_processor();
/* Print that the task is up and running. */
Loop();