summaryrefslogtreecommitdiffstats
path: root/cpukit
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2001-05-25 16:59:28 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2001-05-25 16:59:28 +0000
commitfe70df1927b0e601aea218151d1df4f142ef65e2 (patch)
treea8c19f403af8480c023692da4bdeed274535b4d7 /cpukit
parentfb085c11b4d406d470003f4aa27c9cef1893032f (diff)
downloadrtems-fe70df1927b0e601aea218151d1df4f142ef65e2.tar.bz2
2000-05-25 Sergei Organov <osv@javad.ru>
* macros/rtems/score/coresem.inl, inline/rtems/score/coresem.inl: Cut and paste problem incorrectly enabled interrupts twice with the first time being too early.
Diffstat (limited to 'cpukit')
-rw-r--r--cpukit/score/ChangeLog6
-rw-r--r--cpukit/score/inline/rtems/score/coresem.inl1
-rw-r--r--cpukit/score/macros/rtems/score/coresem.inl1
3 files changed, 6 insertions, 2 deletions
diff --git a/cpukit/score/ChangeLog b/cpukit/score/ChangeLog
index d36689953e..cb702fbbe1 100644
--- a/cpukit/score/ChangeLog
+++ b/cpukit/score/ChangeLog
@@ -1,4 +1,10 @@
+2000-05-25 Sergei Organov <osv@javad.ru>
+
+ * macros/rtems/score/coresem.inl, inline/rtems/score/coresem.inl:
+ Cut and paste problem incorrectly enabled interrupts twice with
+ the first time being too early.
+
2001-05-09 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* include/rtems/score/.cvsignore: Add stamp-h, cpuopts.h,
diff --git a/cpukit/score/inline/rtems/score/coresem.inl b/cpukit/score/inline/rtems/score/coresem.inl
index bd2075bdd2..2f5f8c7bff 100644
--- a/cpukit/score/inline/rtems/score/coresem.inl
+++ b/cpukit/score/inline/rtems/score/coresem.inl
@@ -94,7 +94,6 @@ RTEMS_INLINE_ROUTINE void _CORE_semaphore_Seize_isr_disable(
}
_Thread_Disable_dispatch();
- _ISR_Enable( level );
_Thread_queue_Enter_critical_section( &the_semaphore->Wait_queue );
executing->Wait.queue = &the_semaphore->Wait_queue;
executing->Wait.id = id;
diff --git a/cpukit/score/macros/rtems/score/coresem.inl b/cpukit/score/macros/rtems/score/coresem.inl
index 6a22237605..eebb34d3c2 100644
--- a/cpukit/score/macros/rtems/score/coresem.inl
+++ b/cpukit/score/macros/rtems/score/coresem.inl
@@ -57,7 +57,6 @@
executing->Wait.return_code = CORE_SEMAPHORE_STATUS_UNSATISFIED_NOWAIT; \
} else { \
_Thread_Disable_dispatch(); \
- _ISR_Enable( level ); \
_Thread_queue_Enter_critical_section( &(_the_semaphore)->Wait_queue ); \
executing->Wait.queue = &(_the_semaphore)->Wait_queue; \
executing->Wait.id = (_id); \