diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-05-20 15:10:27 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-05-20 16:17:00 +0200 |
commit | e266d134ebf6f7b7722fffe23c3b4ad142001452 (patch) | |
tree | 7e43e93706be3da460331353b87e58cbb6a9833c /cpukit/posix/src/mutexunlock.c | |
parent | score: Rename _Objects_Get_local() (diff) | |
download | rtems-e266d134ebf6f7b7722fffe23c3b4ad142001452.tar.bz2 |
Replace *_Get_interrupt_disable() with *_Get()
Uniformly use *_Get() to get an object by identifier with a lock
context.
Diffstat (limited to '')
-rw-r--r-- | cpukit/posix/src/mutexunlock.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/posix/src/mutexunlock.c b/cpukit/posix/src/mutexunlock.c index 4de1917648..f9dec821da 100644 --- a/cpukit/posix/src/mutexunlock.c +++ b/cpukit/posix/src/mutexunlock.c @@ -34,7 +34,7 @@ int pthread_mutex_unlock( CORE_mutex_Status status; ISR_lock_Context lock_context; - the_mutex = _POSIX_Mutex_Get_interrupt_disable( mutex, &lock_context ); + the_mutex = _POSIX_Mutex_Get( mutex, &lock_context ); if ( the_mutex == NULL ) { return EINVAL; |