]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - kernel/futex.c
rtmutex: Confine deadlock logic to futex
authorThomas Gleixner <tglx@linutronix.de>
Thu, 22 May 2014 03:25:50 +0000 (03:25 +0000)
committerThomas Gleixner <tglx@linutronix.de>
Sat, 21 Jun 2014 20:05:30 +0000 (22:05 +0200)
commitc051b21f71d1ffdfd7ad406a1ef5ede5e5f974c5
tree8ea9859d832e072ec2a8a4123ce46d67aec66f89
parent1ca7b86062ec8473d03c5cdfd336abc8b1c8098c
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>
include/linux/rtmutex.h
kernel/futex.c
kernel/locking/rtmutex.c
kernel/locking/rtmutex_common.h