]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - kernel/locking/rtmutex.c
Merge tag 'clk-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/clk/linux
[linux.git] / kernel / locking / rtmutex.c
index 2874bf55616201d74ba1d4c36279d9df621113ff..851bbb10819de90ce3df1d248fd853ae72024708 100644 (file)
@@ -1517,7 +1517,7 @@ int __sched rt_mutex_lock_interruptible(struct rt_mutex *lock)
        mutex_acquire(&lock->dep_map, 0, 0, _RET_IP_);
        ret = rt_mutex_fastlock(lock, TASK_INTERRUPTIBLE, rt_mutex_slowlock);
        if (ret)
-               mutex_release(&lock->dep_map, 1, _RET_IP_);
+               mutex_release(&lock->dep_map, _RET_IP_);
 
        return ret;
 }
@@ -1561,7 +1561,7 @@ rt_mutex_timed_lock(struct rt_mutex *lock, struct hrtimer_sleeper *timeout)
                                       RT_MUTEX_MIN_CHAINWALK,
                                       rt_mutex_slowlock);
        if (ret)
-               mutex_release(&lock->dep_map, 1, _RET_IP_);
+               mutex_release(&lock->dep_map, _RET_IP_);
 
        return ret;
 }
@@ -1600,7 +1600,7 @@ EXPORT_SYMBOL_GPL(rt_mutex_trylock);
  */
 void __sched rt_mutex_unlock(struct rt_mutex *lock)
 {
-       mutex_release(&lock->dep_map, 1, _RET_IP_);
+       mutex_release(&lock->dep_map, _RET_IP_);
        rt_mutex_fastunlock(lock, rt_mutex_slowunlock);
 }
 EXPORT_SYMBOL_GPL(rt_mutex_unlock);