From 4db0ae8e07870d4ca23dc1b9f8097e3494fe82a2 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Mon, 20 Apr 2015 08:45:41 +0200 Subject: score: _Objects_Get_isr_disable() Use ISR_lock_Context instead of ISR_Level to allow use of ISR locks for low-level locking. Update #2273. --- cpukit/rtems/include/rtems/rtems/semimpl.h | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'cpukit/rtems/include/rtems/rtems/semimpl.h') diff --git a/cpukit/rtems/include/rtems/rtems/semimpl.h b/cpukit/rtems/include/rtems/rtems/semimpl.h index b4d1e83e13..8c93e93554 100644 --- a/cpukit/rtems/include/rtems/rtems/semimpl.h +++ b/cpukit/rtems/include/rtems/rtems/semimpl.h @@ -190,11 +190,15 @@ RTEMS_INLINE_ROUTINE Semaphore_Control *_Semaphore_Get ( RTEMS_INLINE_ROUTINE Semaphore_Control *_Semaphore_Get_interrupt_disable ( Objects_Id id, Objects_Locations *location, - ISR_Level *level + ISR_lock_Context *lock_context ) { - return (Semaphore_Control *) - _Objects_Get_isr_disable( &_Semaphore_Information, id, location, level ); + return (Semaphore_Control *) _Objects_Get_isr_disable( + &_Semaphore_Information, + id, + location, + lock_context + ); } #ifdef __cplusplus -- cgit v1.2.3