diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-12-01 22:24:02 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-12-02 12:39:37 +0100 |
commit | b3cb2c12d7c1fa3434b0202e4f03a697f7c269bc (patch) | |
tree | 4202fecbe59d8feff0b158152675a9b8cdedbd36 /cpukit/score/include/rtems/score/threadqimpl.h | |
parent | posix: Fix fall back spinlock implementation (diff) | |
download | rtems-b3cb2c12d7c1fa3434b0202e4f03a697f7c269bc.tar.bz2 |
score: Fix debug thread queue context init
On ARM Thumb we may have function addresses ending with 0x7f, if we are
lucky.
Diffstat (limited to 'cpukit/score/include/rtems/score/threadqimpl.h')
-rw-r--r-- | cpukit/score/include/rtems/score/threadqimpl.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cpukit/score/include/rtems/score/threadqimpl.h b/cpukit/score/include/rtems/score/threadqimpl.h index 760c83c658..fc907d3936 100644 --- a/cpukit/score/include/rtems/score/threadqimpl.h +++ b/cpukit/score/include/rtems/score/threadqimpl.h @@ -91,6 +91,8 @@ RTEMS_INLINE_ROUTINE void _Thread_queue_Context_initialize( #if defined(RTEMS_SMP) _Chain_Initialize_node( &queue_context->Lock_context.Wait.Gate.Node ); #endif + queue_context->enqueue_callout = NULL; + queue_context->deadlock_callout = NULL; #else (void) queue_context; #endif |