summaryrefslogtreecommitdiffstats
path: root/testsuites/mptests/mp10
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2019-12-12 06:37:01 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2019-12-13 08:22:58 +0100
commita00dff42cfdf201abe15829baeeb2b6341a0426b (patch)
treec155002e1d0b91337e2c60a237c114a998aa605f /testsuites/mptests/mp10
parentconfig: CONFIGURE_HAS_OWN_MULTIPROCESSING_TABLE (diff)
downloadrtems-a00dff42cfdf201abe15829baeeb2b6341a0426b.tar.bz2
rtems: Add and use rtems_object_get_local_node()
Update #3841.
Diffstat (limited to 'testsuites/mptests/mp10')
-rw-r--r--testsuites/mptests/mp10/initimpl.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/testsuites/mptests/mp10/initimpl.h b/testsuites/mptests/mp10/initimpl.h
index b5c5a200f4..5e09662119 100644
--- a/testsuites/mptests/mp10/initimpl.h
+++ b/testsuites/mptests/mp10/initimpl.h
@@ -40,7 +40,7 @@ rtems_task Init(
printf(
"\n\n*** TEST 10 -- NODE %" PRIu32 " ***\n",
- Multiprocessing_configuration.node
+ rtems_object_get_local_node()
);
Task_name[ 1 ] = rtems_build_name( 'T', 'A', '1', ' ' );
@@ -51,7 +51,7 @@ rtems_task Init(
Semaphore_name[ 1 ] = rtems_build_name( 'S', 'E', 'M', ' ' );
- if ( Multiprocessing_configuration.node == 1 ) {
+ if ( rtems_object_get_local_node() == 1 ) {
puts( "Creating Message Queue (Global)" );
status = rtems_message_queue_create(
Queue_name[ 1 ],