[rtems commit] score: Fix for RTEMS_DEBUG
Sebastian Huber
sebh at rtems.org
Mon Aug 1 12:01:05 UTC 2016
Module: rtems
Branch: master
Commit: 501b11baab8ba574d582662a5b97c1e3d296e59d
Changeset: http://git.rtems.org/rtems/commit/?id=501b11baab8ba574d582662a5b97c1e3d296e59d
Author: Sebastian Huber <sebastian.huber at embedded-brains.de>
Date: Mon Aug 1 14:00:14 2016 +0200
score: Fix for RTEMS_DEBUG
---
cpukit/score/src/objectmp.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/cpukit/score/src/objectmp.c b/cpukit/score/src/objectmp.c
index 0628544..b97a9d5 100644
--- a/cpukit/score/src/objectmp.c
+++ b/cpukit/score/src/objectmp.c
@@ -394,6 +394,7 @@ void _Objects_MP_Free_global_object( Objects_MP_Control *the_global_object )
_Objects_MP_Global_acquire( &lock_context );
+ _Chain_Initialize_node( &the_global_object->Nodes.Inactive );
_Chain_Append_unprotected(
&_Objects_MP_Inactive_global_objects,
&the_global_object->Nodes.Inactive
More information about the vc
mailing list