summaryrefslogtreecommitdiffstats
path: root/testsuites/smptests/smpsignal01/init.c
diff options
context:
space:
mode:
Diffstat (limited to 'testsuites/smptests/smpsignal01/init.c')
-rw-r--r--testsuites/smptests/smpsignal01/init.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/testsuites/smptests/smpsignal01/init.c b/testsuites/smptests/smpsignal01/init.c
index 966b68ff93..37c07a69af 100644
--- a/testsuites/smptests/smpsignal01/init.c
+++ b/testsuites/smptests/smpsignal01/init.c
@@ -90,14 +90,14 @@ static void signal_send(test_context *ctx, test_state new_state)
static void check_consumer_processor(const test_context *ctx)
{
rtems_test_assert(
- ctx->consumer_processor == rtems_get_current_processor()
+ ctx->consumer_processor == rtems_scheduler_get_processor()
);
}
static void check_producer_processor(const test_context *ctx)
{
rtems_test_assert(
- ctx->producer_processor == rtems_get_current_processor()
+ ctx->producer_processor == rtems_scheduler_get_processor()
);
}
@@ -105,7 +105,7 @@ static void producer(rtems_task_argument arg)
{
test_context *ctx = (test_context *) arg;
- ctx->producer_processor = rtems_get_current_processor();
+ ctx->producer_processor = rtems_scheduler_get_processor();
rtems_test_assert(ctx->consumer_processor != ctx->producer_processor);
@@ -220,7 +220,7 @@ static void Init(rtems_task_argument arg)
TEST_BEGIN();
ctx->consumer = rtems_task_self();
- ctx->consumer_processor = rtems_get_current_processor();
+ ctx->consumer_processor = rtems_scheduler_get_processor();
test_isr_level(ctx);