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. --- testsuites/sptests/spintrcritical22/init.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'testsuites/sptests') diff --git a/testsuites/sptests/spintrcritical22/init.c b/testsuites/sptests/spintrcritical22/init.c index 3670d1ae8d..9b5c5e13be 100644 --- a/testsuites/sptests/spintrcritical22/init.c +++ b/testsuites/sptests/spintrcritical22/init.c @@ -36,7 +36,7 @@ static Semaphore_Control *get_semaphore_control(rtems_id id) Thread_queue_Context queue_context; Semaphore_Control *sem; - sem = _Semaphore_Get(id, &queue_context, NULL); + sem = _Semaphore_Get(id, &queue_context); rtems_test_assert(sem != NULL); _ISR_lock_ISR_enable(&queue_context.Lock_context); -- cgit v1.2.3