]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
locking/mutex: Simplify some ww_mutex code in __mutex_lock_common()
authorWaiman Long <Waiman.Long@hpe.com>
Fri, 26 Aug 2016 23:35:08 +0000 (19:35 -0400)
committerIngo Molnar <mingo@kernel.org>
Tue, 25 Oct 2016 09:31:53 +0000 (11:31 +0200)
commita40ca56577f628eb3f7af22b484e95edfdd047a2
tree4ab2aa04e9fb6a92f4803dcffdd608620caa541a
parent5bbd7e644378334700889fb762d5893985a7311f
locking/mutex: Simplify some ww_mutex code in __mutex_lock_common()

This patch removes some of the redundant ww_mutex code in
__mutex_lock_common().

Tested-by: Jason Low <jason.low2@hpe.com>
Signed-off-by: Waiman Long <Waiman.Long@hpe.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Davidlohr Bueso <dave@stgolabs.net>
Cc: Ding Tianhong <dingtianhong@huawei.com>
Cc: Imre Deak <imre.deak@intel.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Cc: Paul E. McKenney <paulmck@us.ibm.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Tim Chen <tim.c.chen@linux.intel.com>
Cc: Will Deacon <Will.Deacon@arm.com>
Link: http://lkml.kernel.org/r/1472254509-27508-1-git-send-email-Waiman.Long@hpe.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
kernel/locking/mutex.c