summaryrefslogtreecommitdiffstats
path: root/testsuites
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2016-05-20 14:59:30 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2016-05-20 16:17:00 +0200
commit62c528e633758302f30aa714838b51613f03f9e7 (patch)
treedda69197e96e7cb301e8a71556821437439b76b1 /testsuites
parentrtems: _Message_queue_Get_interrupt_disable() (diff)
downloadrtems-62c528e633758302f30aa714838b51613f03f9e7.tar.bz2
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.
Diffstat (limited to 'testsuites')
-rw-r--r--testsuites/sptests/spintrcritical22/init.c3
-rw-r--r--testsuites/tmtests/tm26/task1.c3
2 files changed, 1 insertions, 5 deletions
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);
diff --git a/testsuites/tmtests/tm26/task1.c b/testsuites/tmtests/tm26/task1.c
index 69fdc4810d..52348df247 100644
--- a/testsuites/tmtests/tm26/task1.c
+++ b/testsuites/tmtests/tm26/task1.c
@@ -31,8 +31,6 @@ const char rtems_test_name[] = "TIME TEST 26";
/* TEST DATA */
rtems_id Semaphore_id;
-Objects_Locations location; /* uses internal RTEMS type */
-
Thread_Control *Middle_tcb; /* uses internal RTEMS type */
Thread_Control *Low_tcb; /* uses internal RTEMS type */
@@ -517,7 +515,6 @@ void complete_test( void )
for ( index=1 ; index <= OPERATION_COUNT ; index++ ) {
(void) _Semaphore_Get_interrupt_disable(
Semaphore_id,
- &location,
&lock_context
);
_ISR_lock_ISR_enable( &lock_context );