diff options
Diffstat (limited to 'cpukit/score/include/rtems/score/smplock.h')
-rw-r--r-- | cpukit/score/include/rtems/score/smplock.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpukit/score/include/rtems/score/smplock.h b/cpukit/score/include/rtems/score/smplock.h index 173df18754..eddbb32b15 100644 --- a/cpukit/score/include/rtems/score/smplock.h +++ b/cpukit/score/include/rtems/score/smplock.h @@ -251,7 +251,7 @@ static inline void _SMP_lock_ISR_disable_and_acquire( SMP_lock_Context *context ) { - _ISR_Disable_without_giant( context->isr_level ); + _ISR_Local_disable( context->isr_level ); _SMP_lock_Acquire( lock, context ); } @@ -274,7 +274,7 @@ static inline void _SMP_lock_Release_and_ISR_enable( ) { _SMP_lock_Release( lock, context ); - _ISR_Enable_without_giant( context->isr_level ); + _ISR_Local_enable( context->isr_level ); } #endif |