From 62c528e633758302f30aa714838b51613f03f9e7 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Fri, 20 May 2016 14:59:30 +0200 Subject: rtems: _Semaphore_Get_interrupt_disable() Use _Objects_Get_local() for _Semaphore_Get_interrupt_disable() to get rid of the location parameter. Move remote object handling to semaphore MPCI support. --- testsuites/sptests/spintrcritical22/init.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'testsuites/sptests') diff --git a/testsuites/sptests/spintrcritical22/init.c b/testsuites/sptests/spintrcritical22/init.c index aada98dae7..cbb23abc54 100644 --- a/testsuites/sptests/spintrcritical22/init.c +++ b/testsuites/sptests/spintrcritical22/init.c @@ -33,11 +33,10 @@ static test_context ctx_instance; static Semaphore_Control *get_semaphore_control(rtems_id id) { - Objects_Locations location; ISR_lock_Context lock_context; Semaphore_Control *sem; - sem = _Semaphore_Get_interrupt_disable(id, &location, &lock_context); + sem = _Semaphore_Get_interrupt_disable(id, &lock_context); rtems_test_assert(sem != NULL); _ISR_lock_ISR_enable(&lock_context); -- cgit v1.2.3