diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2014-05-22 03:25:50 +0000 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2014-06-21 22:05:30 +0200 |
commit | c051b21f71d1ffdfd7ad406a1ef5ede5e5f974c5 (patch) | |
tree | 8ea9859d832e072ec2a8a4123ce46d67aec66f89 /kernel/locking/rtmutex_common.h | |
parent | 1ca7b86062ec8473d03c5cdfd336abc8b1c8098c (diff) | |
download | blackbird-op-linux-c051b21f71d1ffdfd7ad406a1ef5ede5e5f974c5.tar.gz blackbird-op-linux-c051b21f71d1ffdfd7ad406a1ef5ede5e5f974c5.zip |
rtmutex: Confine deadlock logic to futex
The deadlock logic is only required for futexes.
Remove the extra arguments for the public functions and also for the
futex specific ones which get always called with deadlock detection
enabled.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'kernel/locking/rtmutex_common.h')
-rw-r--r-- | kernel/locking/rtmutex_common.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/kernel/locking/rtmutex_common.h b/kernel/locking/rtmutex_common.h index 7431a9c86f35..cd3ec209d0c8 100644 --- a/kernel/locking/rtmutex_common.h +++ b/kernel/locking/rtmutex_common.h @@ -111,12 +111,11 @@ extern void rt_mutex_proxy_unlock(struct rt_mutex *lock, struct task_struct *proxy_owner); extern int rt_mutex_start_proxy_lock(struct rt_mutex *lock, struct rt_mutex_waiter *waiter, - struct task_struct *task, - int detect_deadlock); + struct task_struct *task); extern int rt_mutex_finish_proxy_lock(struct rt_mutex *lock, struct hrtimer_sleeper *to, - struct rt_mutex_waiter *waiter, - int detect_deadlock); + struct rt_mutex_waiter *waiter); +extern int rt_mutex_timed_futex_lock(struct rt_mutex *l, struct hrtimer_sleeper *to); #ifdef CONFIG_DEBUG_RT_MUTEXES # include "rtmutex-debug.h" |