diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2019-12-12 06:37:01 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2019-12-13 08:22:58 +0100 |
commit | a00dff42cfdf201abe15829baeeb2b6341a0426b (patch) | |
tree | c155002e1d0b91337e2c60a237c114a998aa605f /testsuites/mptests/mp12 | |
parent | config: CONFIGURE_HAS_OWN_MULTIPROCESSING_TABLE (diff) | |
download | rtems-a00dff42cfdf201abe15829baeeb2b6341a0426b.tar.bz2 |
rtems: Add and use rtems_object_get_local_node()
Update #3841.
Diffstat (limited to 'testsuites/mptests/mp12')
-rw-r--r-- | testsuites/mptests/mp12/initimpl.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/testsuites/mptests/mp12/initimpl.h b/testsuites/mptests/mp12/initimpl.h index 7486e664c6..6eb38a904c 100644 --- a/testsuites/mptests/mp12/initimpl.h +++ b/testsuites/mptests/mp12/initimpl.h @@ -42,7 +42,7 @@ rtems_task Init( printf( "\n\n*** TEST 12 -- NODE %" PRId32 " ***\n", - Multiprocessing_configuration.node + rtems_object_get_local_node() ); Task_name[ 1 ] = rtems_build_name( '1', '1', '1', ' ' ); @@ -52,7 +52,7 @@ rtems_task Init( puts( "Got to initialization task" ); - if ( Multiprocessing_configuration.node == 2 ) { + if ( rtems_object_get_local_node() == 2 ) { status = rtems_task_wake_after( rtems_clock_get_ticks_per_second() ); directive_failed( status, "rtems_task_wake_after" ); |