summaryrefslogtreecommitdiffstats
path: root/testsuites/smptests/smppsxsignal01/init.c
diff options
context:
space:
mode:
Diffstat (limited to 'testsuites/smptests/smppsxsignal01/init.c')
-rw-r--r--testsuites/smptests/smppsxsignal01/init.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/testsuites/smptests/smppsxsignal01/init.c b/testsuites/smptests/smppsxsignal01/init.c
index 695eeb7b80..53ecb54932 100644
--- a/testsuites/smptests/smppsxsignal01/init.c
+++ b/testsuites/smptests/smppsxsignal01/init.c
@@ -82,14 +82,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()
);
}
@@ -97,7 +97,7 @@ static void *producer(void *arg)
{
test_context *ctx = arg;
- ctx->producer_processor = rtems_get_current_processor();
+ ctx->producer_processor = rtems_scheduler_get_processor();
rtems_test_assert(ctx->consumer_processor != ctx->producer_processor);
@@ -120,7 +120,7 @@ static void test(void)
void *producer_status;
ctx->consumer = pthread_self();
- ctx->consumer_processor = rtems_get_current_processor();
+ ctx->consumer_processor = rtems_scheduler_get_processor();
memset(&new_action, 0, sizeof(new_action));
new_action.sa_handler = signal_handler;