diff options
Diffstat (limited to 'cpukit/libtest/testparallel.c')
-rw-r--r-- | cpukit/libtest/testparallel.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/libtest/testparallel.c b/cpukit/libtest/testparallel.c index 1182242a7b..ea805a3cf4 100644 --- a/cpukit/libtest/testparallel.c +++ b/cpukit/libtest/testparallel.c @@ -74,7 +74,7 @@ static void run_tests( */ rtems_interrupt_local_disable(level); _SMP_barrier_Wait(&ctx->barrier, &bs, ctx->worker_count); - worker_index = rtems_get_current_processor(); + worker_index = rtems_scheduler_get_processor(); rtems_interrupt_local_enable(level); _Assert(worker_index < ctx->worker_count); |