locking/rtmutex: Allow specifying a subclass for nested locking
authorPeter Rosin <peda@axentia.se>
Fri, 20 Jul 2018 08:39:13 +0000 (10:39 +0200)
committerIngo Molnar <mingo@kernel.org>
Wed, 25 Jul 2018 09:22:19 +0000 (11:22 +0200)
commit62cedf3e60af03e47849fe2bd6a03ec179422a8a
tree59dad6e595452aa0a96442424e481b768771eda8
parentd72e90f33aa4709ebecc5005562f52335e106a60
locking/rtmutex: Allow specifying a subclass for nested locking

Needed for annotating rt_mutex locks.

Tested-by: John Sperbeck <jsperbeck@google.com>
Signed-off-by: Peter Rosin <peda@axentia.se>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: Davidlohr Bueso <dave@stgolabs.net>
Cc: Deepa Dinamani <deepadinamani@google.com>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Chang <dpf@google.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Philippe Ombredanne <pombredanne@nexb.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Will Deacon <will.deacon@arm.com>
Cc: Wolfram Sang <wsa@the-dreams.de>
Link: http://lkml.kernel.org/r/20180720083914.1950-2-peda@axentia.se
Signed-off-by: Ingo Molnar <mingo@kernel.org>
include/linux/rtmutex.h
kernel/locking/rtmutex.c