From 0e1d11f3f0f02768ced350fcb53056c55f0c545b Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Fri, 27 May 2016 13:26:53 +0200 Subject: 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. --- cpukit/score/src/condition.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cpukit/score/src/condition.c') diff --git a/cpukit/score/src/condition.c b/cpukit/score/src/condition.c index 39924e8c92..fae150a7cd 100644 --- a/cpukit/score/src/condition.c +++ b/cpukit/score/src/condition.c @@ -247,7 +247,7 @@ static void _Condition_Wake( struct _Condition_Control *_condition, int count ) Condition_Context context; condition = _Condition_Get( _condition ); - _Thread_queue_Context_initialize( &context.Base, NULL ); + _Thread_queue_Context_initialize( &context.Base ); _ISR_lock_ISR_disable( &context.Base.Lock_context ); _Condition_Queue_acquire_critical( condition, &context.Base.Lock_context ); -- cgit v1.2.3