summaryrefslogtreecommitdiffstats
path: root/testsuites/mptests/mp08/task1.c
diff options
context:
space:
mode:
Diffstat (limited to 'testsuites/mptests/mp08/task1.c')
-rw-r--r--testsuites/mptests/mp08/task1.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/testsuites/mptests/mp08/task1.c b/testsuites/mptests/mp08/task1.c
index 35d67e649a..3e914db227 100644
--- a/testsuites/mptests/mp08/task1.c
+++ b/testsuites/mptests/mp08/task1.c
@@ -39,7 +39,7 @@ rtems_task Test_task(
);
} while ( !rtems_is_status_successful( status ) );
- if ( Multiprocessing_configuration.node == 2 ) {
+ if ( rtems_object_get_local_node() == 2 ) {
status = rtems_semaphore_delete( Semaphore_id[ 1 ] );
fatal_directive_status(
status,
@@ -70,7 +70,7 @@ rtems_task Test_task(
rtems_test_exit( 0 );
}
- if ( Multiprocessing_configuration.node == 1 && ++count == 1000 ) {
+ if ( rtems_object_get_local_node() == 1 && ++count == 1000 ) {
status = rtems_task_wake_after( rtems_clock_get_ticks_per_second() );
directive_failed( status, "rtems_task_wake_after" );