locking/percpu-rwsem: Add DEFINE_STATIC_PERCPU_RWSEMand percpu_rwsem_assert_held()
authorPeter Zijlstra <peterz@infradead.org>
Mon, 22 Jun 2015 12:16:31 +0000 (14:16 +0200)
committerIngo Molnar <mingo@kernel.org>
Thu, 22 Sep 2016 13:25:52 +0000 (15:25 +0200)
commit11d9684ca638aad99f740ef3abcba2aa4c9290bf
tree02b0bcbda382d8f6f6b6d50247ff8cdb628bd0d3
parentb193049375b04df3ada8c3347b7083db95918bc3
locking/percpu-rwsem: Add DEFINE_STATIC_PERCPU_RWSEMand percpu_rwsem_assert_held()

Provide a static init and a standard locking assertion method.

Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: dave@stgolabs.net
Cc: der.herr@hofr.at
Cc: oleg@redhat.com
Cc: paulmck@linux.vnet.ibm.com
Cc: riel@redhat.com
Cc: tj@kernel.org
Cc: viro@ZenIV.linux.org.uk
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
include/linux/percpu-rwsem.h