summaryrefslogtreecommitdiffstats
path: root/cpukit/score/src
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2011-02-14 17:50:23 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2011-02-14 17:50:23 +0000
commit7ce892d633435c7f4cbe18e1100162236182f7c7 (patch)
treec016bdf0c8f24f8dd95d068839516051c10e0f96 /cpukit/score/src
parent2011-02-11 Joel Sherrill <joel.sherrilL@OARcorp.com> (diff)
downloadrtems-7ce892d633435c7f4cbe18e1100162236182f7c7.tar.bz2
2011-02-14 Joel Sherrill <joel.sherrilL@OARcorp.com>
* score/include/rtems/score/coremutex.h, score/inline/rtems/score/coremutex.inl, score/src/apimutexallocate.c: Fix direction of conditional and eliminate use of nesting is error when POSIX is disabled.
Diffstat (limited to 'cpukit/score/src')
-rw-r--r--cpukit/score/src/apimutexallocate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/score/src/apimutexallocate.c b/cpukit/score/src/apimutexallocate.c
index c5a24d9782..5a2a323315 100644
--- a/cpukit/score/src/apimutexallocate.c
+++ b/cpukit/score/src/apimutexallocate.c
@@ -23,7 +23,7 @@ void _API_Mutex_Allocate(
API_Mutex_Control *mutex;
CORE_mutex_Attributes attr = {
- CORE_MUTEX_NESTING_IS_ERROR,
+ CORE_MUTEX_NESTING_ACQUIRES,
false,
CORE_MUTEX_DISCIPLINES_PRIORITY_INHERIT,
0