forked from Imagelibrary/rtems
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:
@@ -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