summaryrefslogtreecommitdiffstats
path: root/testsuites/mptests/mp11/initimpl.h
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/mp11/initimpl.h
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/mp11/initimpl.h')
-rw-r--r--testsuites/mptests/mp11/initimpl.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/testsuites/mptests/mp11/initimpl.h b/testsuites/mptests/mp11/initimpl.h
index e44b151597..2f0a97a700 100644
--- a/testsuites/mptests/mp11/initimpl.h
+++ b/testsuites/mptests/mp11/initimpl.h
@@ -40,7 +40,7 @@ rtems_task Init(
printf(
"\n\n*** TEST 11 -- NODE %" PRIu32 " ***\n",
- Multiprocessing_configuration.node
+ rtems_object_get_local_node()
);
Task_name[ 1 ] = rtems_build_name( '1', '1', '1', ' ' );
@@ -50,7 +50,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( "Attempting to create Test_task (Global)" );
status = rtems_task_create(
Task_name[ 1 ],