summaryrefslogtreecommitdiffstats
path: root/testsuites/smptests/smpschedaffinity03/init.c
diff options
context:
space:
mode:
Diffstat (limited to 'testsuites/smptests/smpschedaffinity03/init.c')
-rw-r--r--testsuites/smptests/smpschedaffinity03/init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuites/smptests/smpschedaffinity03/init.c b/testsuites/smptests/smpschedaffinity03/init.c
index 629fa5d3f1..5f63d5ff80 100644
--- a/testsuites/smptests/smpschedaffinity03/init.c
+++ b/testsuites/smptests/smpschedaffinity03/init.c
@@ -64,7 +64,7 @@ static void test(void)
test_delay(100);
/* Check the cpu the Init task is running on */
- cpu = rtems_get_current_processor();
+ cpu = rtems_scheduler_get_processor();
printf("On cpu %d\n", cpu);
rtems_test_assert(cpu == i);
}