summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2002-07-23 22:43:13 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2002-07-23 22:43:13 +0000
commit323845bd6742a49677a0c59ae1de92e29607ba0f (patch)
tree9e1f4c4d81843afedcf62cf0ff478f4de5c171a1
parentf6e7123d9430f405f6e13a461f7176210fa6e160 (diff)
downloadrtems-323845bd6742a49677a0c59ae1de92e29607ba0f.tar.bz2
2002-07-22 Joel Sherrill <joel@OARcorp.com>
* include/rtems/score/apimutex.h (_API_Mutex_Lock): Per PR253 add the missing _ISR_Disable. This fix was already applied to the old location (c/src/exec/score/...).
-rw-r--r--cpukit/score/ChangeLog6
-rw-r--r--cpukit/score/include/rtems/score/apimutex.h1
2 files changed, 7 insertions, 0 deletions
diff --git a/cpukit/score/ChangeLog b/cpukit/score/ChangeLog
index 373ca80092..bddee10c19 100644
--- a/cpukit/score/ChangeLog
+++ b/cpukit/score/ChangeLog
@@ -1,3 +1,9 @@
+2002-07-22 Joel Sherrill <joel@OARcorp.com>
+
+ * include/rtems/score/apimutex.h (_API_Mutex_Lock): Per PR253
+ add the missing _ISR_Disable. This fix was already applied to
+ the old location (c/src/exec/score/...).
+
2002-07-22 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* src/Makefile.am: Use .$(OBJEXT) instead of .o.
diff --git a/cpukit/score/include/rtems/score/apimutex.h b/cpukit/score/include/rtems/score/apimutex.h
index 1f0c6bb230..517032761f 100644
--- a/cpukit/score/include/rtems/score/apimutex.h
+++ b/cpukit/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)