[rtems commit] Score Semaphore - Need Semaphore Seize Body When Multiprocessing is Enabled

Joel Sherrill joel at rtems.org
Wed May 9 21:55:53 UTC 2012


Module:    rtems
Branch:    master
Commit:    2824e63a6915b4d62adfb121c8b6368ed85ab4ce
Changeset: http://git.rtems.org/rtems/commit/?id=2824e63a6915b4d62adfb121c8b6368ed85ab4ce

Author:    Joel Sherrill <joel.sherrill at oarcorp.com>
Date:      Mon May  7 18:29:01 2012 -0500

Score Semaphore - Need Semaphore Seize Body When Multiprocessing is Enabled

mptests did not link without this modification.

---

 cpukit/score/include/rtems/score/coresem.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/cpukit/score/include/rtems/score/coresem.h b/cpukit/score/include/rtems/score/coresem.h
index cb1e1b1..d695260 100644
--- a/cpukit/score/include/rtems/score/coresem.h
+++ b/cpukit/score/include/rtems/score/coresem.h
@@ -40,7 +40,7 @@
 extern "C" {
 #endif
 
-#if defined(RTEMS_POSIX_API)
+#if defined(RTEMS_POSIX_API) || defined(RTEMS_MULTIPROCESSING)
   #define RTEMS_SCORE_CORESEM_ENABLE_SEIZE_BODY
 #endif
 




More information about the vc mailing list