mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-11-09 08:37:58 +08:00
score: Fix objects node initialization
The objects node is statically initialized to one. Clear the node field before it is set. Update #3621.
This commit is contained in:
1 parent
a3706d4ce1
commit
a320aeddd9
1 file changed
+1
@@ -41,6 +41,7 @@ void _Objects_Initialize_information(
|
||||
maximum_id = information->maximum_id;
|
||||
|
||||
#if defined(RTEMS_MULTIPROCESSING)
|
||||
maximum_id &= ~OBJECTS_NODE_MASK;
|
||||
maximum_id |= _Objects_Local_node << OBJECTS_NODE_START_BIT;
|
||||
information->maximum_id = maximum_id;
|
||||
#endif
|
||||
|
||||
Reference in new issue
Block a user