summaryrefslogtreecommitdiffstats
path: root/testsuites/mptests/mp05
diff options
context:
space:
mode:
Diffstat (limited to 'testsuites/mptests/mp05')
-rw-r--r--testsuites/mptests/mp05/initimpl.h4
-rw-r--r--testsuites/mptests/mp05/task1.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/testsuites/mptests/mp05/initimpl.h b/testsuites/mptests/mp05/initimpl.h
index a2d4002fde..40b1ea6d9e 100644
--- a/testsuites/mptests/mp05/initimpl.h
+++ b/testsuites/mptests/mp05/initimpl.h
@@ -34,7 +34,7 @@ rtems_task Init(
printf(
"\n\n*** TEST 5 -- NODE %" PRIu32 " ***\n",
- Multiprocessing_configuration.node
+ rtems_object_get_local_node()
);
Task_name[ 1 ] = rtems_build_name( '1', '1', '1', ' ' );
@@ -42,7 +42,7 @@ rtems_task Init(
puts( "Creating Test_task (Global)" );
status = rtems_task_create(
- Task_name[Multiprocessing_configuration.node],
+ Task_name[rtems_object_get_local_node()],
1,
RTEMS_MINIMUM_STACK_SIZE * 2,
RTEMS_TIMESLICE,
diff --git a/testsuites/mptests/mp05/task1.c b/testsuites/mptests/mp05/task1.c
index 171e9a2d21..17a72c4278 100644
--- a/testsuites/mptests/mp05/task1.c
+++ b/testsuites/mptests/mp05/task1.c
@@ -50,7 +50,7 @@ rtems_task Test_task(
status = rtems_signal_catch( Process_asr, RTEMS_NO_ASR|RTEMS_NO_PREEMPT );
directive_failed( status, "rtems_signal_catch" );
- if (Multiprocessing_configuration.node == 1) {
+ if (rtems_object_get_local_node() == 1) {
remote_node = 2;
remote_signal = RTEMS_SIGNAL_18;
expected_signal = RTEMS_SIGNAL_17;
@@ -81,7 +81,7 @@ rtems_task Test_task(
);
directive_failed( status, "rtems_timer_fire_after" );
- if ( Multiprocessing_configuration.node == 1 ) {
+ if ( rtems_object_get_local_node() == 1 ) {
puts( "Sending signal to remote task" );
do {
status = rtems_signal_send( remote_tid, remote_signal );