summaryrefslogtreecommitdiff
path: root/kernel/locking/mutex-debug.c
diff options
context:
space:
mode:
authorLance Roy <ldr709@gmail.com>2018-10-05 09:45:38 +0300
committerPaul E. McKenney <paulmck@linux.ibm.com>2018-11-09 08:53:35 +0300
commit868f7a09a4f385e5167fc0ff9ec4c3f817897f3a (patch)
treeefbc7bb0d39d42403e8fed0f019557d5a0929ed6 /kernel/locking/mutex-debug.c
parent651022382c7f8da46cb4872a545ee1da6d097d2a (diff)
downloadlinux-868f7a09a4f385e5167fc0ff9ec4c3f817897f3a.tar.xz
x86/PCI: Replace spin_is_locked() with lockdep
lockdep_assert_held() is better suited to checking locking requirements, since it only checks if the current thread holds the lock regardless of whether someone else does. This is also a step towards possibly removing spin_is_locked(). Signed-off-by: Lance Roy <ldr709@gmail.com> Cc: Bjorn Helgaas <bhelgaas@google.com> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: Ingo Molnar <mingo@redhat.com> Cc: Borislav Petkov <bp@alien8.de> Cc: "H. Peter Anvin" <hpa@zytor.com> Cc: <x86@kernel.org> Cc: <linux-pci@vger.kernel.org> Signed-off-by: Paul E. McKenney <paulmck@linux.ibm.com>
Diffstat (limited to 'kernel/locking/mutex-debug.c')
0 files changed, 0 insertions, 0 deletions