diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-05-27 13:26:53 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-05-30 16:16:21 +0200 |
commit | 0e1d11f3f0f02768ced350fcb53056c55f0c545b (patch) | |
tree | 1f7062ab130bf78d924a7e34eec62864f3d8ae6e /cpukit/score/src/apimutexunlock.c | |
parent | score: Adjust thread queue layout (diff) | |
download | rtems-0e1d11f3f0f02768ced350fcb53056c55f0c545b.tar.bz2 |
score: Add _Thread_queue_Context_set_MP_callout()
Add _Thread_queue_Context_set_MP_callout() to simplify
_Thread_queue_Context_initialize(). This makes it possible to more
easily add additional fields to Thread_queue_Context.
Diffstat (limited to 'cpukit/score/src/apimutexunlock.c')
-rw-r--r-- | cpukit/score/src/apimutexunlock.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/score/src/apimutexunlock.c b/cpukit/score/src/apimutexunlock.c index f0f114e0bf..486301fa82 100644 --- a/cpukit/score/src/apimutexunlock.c +++ b/cpukit/score/src/apimutexunlock.c @@ -31,7 +31,7 @@ void _API_Mutex_Unlock( API_Mutex_Control *the_mutex ) previous_thread_life_state = the_mutex->previous_thread_life_state; restore_thread_life_protection = the_mutex->Mutex.nest_count == 1; - _Thread_queue_Context_initialize( &queue_context, NULL ); + _Thread_queue_Context_initialize( &queue_context ); _ISR_lock_ISR_disable( &queue_context.Lock_context ); _CORE_mutex_Surrender( &the_mutex->Mutex, &queue_context ); |