diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2011-02-14 17:50:23 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2011-02-14 17:50:23 +0000 |
commit | 7ce892d633435c7f4cbe18e1100162236182f7c7 (patch) | |
tree | c016bdf0c8f24f8dd95d068839516051c10e0f96 /cpukit/score/src | |
parent | 2011-02-11 Joel Sherrill <joel.sherrilL@OARcorp.com> (diff) | |
download | rtems-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.c | 2 |
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 |