summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorLance Roy <ldr709@gmail.com>2018-10-03 07:38:57 +0200
committerThomas Gleixner <tglx@linutronix.de>2018-10-09 13:19:28 +0200
commit4de1a293a08bdf8ec1530e02163930ac86f80ea2 (patch)
treec1a9fff82f72eeb9c55c3f7d1ae57ff3c63a587a /drivers
parentlocking/lockdep: Make class->ops a percpu counter and move it under CONFIG_DE... (diff)
downloadlinux-4de1a293a08bdf8ec1530e02163930ac86f80ea2.tar.xz
linux-4de1a293a08bdf8ec1530e02163930ac86f80ea2.zip
futex: Replace spin_is_locked() with lockdep
lockdep_assert_held() is better suited for checking locking requirements, since it won't get confused when the lock is held by some other task. This is also a step towards possibly removing spin_is_locked(). Signed-off-by: Lance Roy <ldr709@gmail.com> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Cc: "Paul E. McKenney" <paulmck@linux.ibm.com> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Darren Hart <dvhart@infradead.org> Link: https://lkml.kernel.org/r/20181003053902.6910-12-ldr709@gmail.com
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions