summaryrefslogtreecommitdiffstats
path: root/c/src/exec/score/include/rtems
diff options
context:
space:
mode:
Diffstat (limited to 'c/src/exec/score/include/rtems')
-rw-r--r--c/src/exec/score/include/rtems/score/apimutex.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/c/src/exec/score/include/rtems/score/apimutex.h b/c/src/exec/score/include/rtems/score/apimutex.h
index 1f0c6bb230..517032761f 100644
--- a/c/src/exec/score/include/rtems/score/apimutex.h
+++ b/c/src/exec/score/include/rtems/score/apimutex.h
@@ -105,6 +105,7 @@ SCORE_EXTERN Objects_Information _API_Mutex_Information;
#define _API_Mutex_Lock( _the_mutex ) \
do { \
ISR_Level _level; \
+ _ISR_Disable( _level ); \
_CORE_mutex_Seize( \
&(_the_mutex)->Mutex, (_the_mutex)->Object.id, TRUE, 0, (_level) ); \
} while (0)