[rtems commit] score: Fix for RTEMS_DEBUG

Sebastian Huber sebh at rtems.org
Wed Jul 27 08:56:00 UTC 2016


Module:    rtems
Branch:    master
Commit:    0b836337290b8043245ee0118fb2d44fcee9cc94
Changeset: http://git.rtems.org/rtems/commit/?id=0b836337290b8043245ee0118fb2d44fcee9cc94

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Wed Jul 27 10:55:17 2016 +0200

score: Fix for RTEMS_DEBUG

---

 cpukit/score/src/profilingsmplock.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/cpukit/score/src/profilingsmplock.c b/cpukit/score/src/profilingsmplock.c
index 61d4611..6d573a7 100644
--- a/cpukit/score/src/profilingsmplock.c
+++ b/cpukit/score/src/profilingsmplock.c
@@ -100,6 +100,7 @@ void _SMP_lock_Stats_iteration_start(
 
   _SMP_lock_ISR_disable_and_acquire( &control->Lock, &lock_context );
 
+  _Chain_Initialize_node( &iteration_context->Node );
   _Chain_Append_unprotected(
     &control->Iterator_chain,
     &iteration_context->Node



More information about the vc mailing list