From e266d134ebf6f7b7722fffe23c3b4ad142001452 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Fri, 20 May 2016 15:10:27 +0200 Subject: Replace *_Get_interrupt_disable() with *_Get() Uniformly use *_Get() to get an object by identifier with a lock context. --- cpukit/posix/src/mutexunlock.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cpukit/posix/src/mutexunlock.c') 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; -- cgit v1.2.3