locking/rwsem: Prevent unneeded warning during locking selftest
authorWaiman Long <longman@redhat.com>
Sat, 13 Apr 2019 17:22:44 +0000 (13:22 -0400)
committerIngo Molnar <mingo@kernel.org>
Sun, 14 Apr 2019 09:09:35 +0000 (11:09 +0200)
commit26536e7c242e2b0f73c25c46fc50d2525ebe400b
tree6f568fafe7071e3c27b89c971d68a4fbb064458d
parent364f784f048c984721986db90c95ca8350213c91
locking/rwsem: Prevent unneeded warning during locking selftest

Disable the DEBUG_RWSEMS check when locking selftest is running with
debug_locks_silent flag set.

Signed-off-by: Waiman Long <longman@redhat.com>
Cc: Davidlohr Bueso <dave@stgolabs.net>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
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>
Cc: huang ying <huang.ying.caritas@gmail.com>
Link: http://lkml.kernel.org/r/20190413172259.2740-2-longman@redhat.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
kernel/locking/rwsem.h