summaryrefslogtreecommitdiffstats
path: root/c/src/exec
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2002-07-19 16:31:41 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2002-07-19 16:31:41 +0000
commit9b494549d62bf86c18ba1fba62dc0ee0626a9e78 (patch)
treef079bf78cffea092e7e0d0b563cf086fb632266c /c/src/exec
parent2002-07-19 Joel Sherrill <joel@OARcorp.com> (diff)
downloadrtems-9b494549d62bf86c18ba1fba62dc0ee0626a9e78.tar.bz2
2002-07-19 Joel Sherrill <joel@OARcorp.com>
* include/rtems/score/apimutex.h (_API_Mutex_Lock): Added missing _ISR_Disable.
Diffstat (limited to 'c/src/exec')
-rw-r--r--c/src/exec/score/ChangeLog5
-rw-r--r--c/src/exec/score/include/rtems/score/apimutex.h1
2 files changed, 6 insertions, 0 deletions
diff --git a/c/src/exec/score/ChangeLog b/c/src/exec/score/ChangeLog
index bcf4ec52ff..7f7a5a1086 100644
--- a/c/src/exec/score/ChangeLog
+++ b/c/src/exec/score/ChangeLog
@@ -1,3 +1,8 @@
+2002-07-19 Joel Sherrill <joel@OARcorp.com>
+
+ * include/rtems/score/apimutex.h (_API_Mutex_Lock): Added missing
+ _ISR_Disable.
+
2002-07-16 Joel Sherrill <joel@OARcorp.com>
* macros/rtems/score/object.inl: Corrected typos in
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)