diff options
author | Will Deacon | 2017-10-03 20:25:26 +0200 |
---|---|---|
committer | Ingo Molnar | 2017-10-10 11:50:17 +0200 |
commit | 26c4eb192c6224e5297496cead36404b62fb071b (patch) | |
tree | df7303338d50849ac975d9fc1e808a900a22fcc9 /arch/hexagon/include/asm/mmu.h | |
parent | locking/rwsem, fs: Use killable down_read() in iterate_dir() (diff) | |
download | kernel-qcow2-linux-26c4eb192c6224e5297496cead36404b62fb071b.tar.gz kernel-qcow2-linux-26c4eb192c6224e5297496cead36404b62fb071b.tar.xz kernel-qcow2-linux-26c4eb192c6224e5297496cead36404b62fb071b.zip |
locking/rwsem, security/apparmor: Replace homebrew use of write_can_lock() with lockdep
The lockdep subsystem provides a robust way to assert that a lock is
held, so use that instead of write_can_lock, which can give incorrect
results for qrwlocks.
Signed-off-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Acked-by: John Johansen <john.johansen@canonical.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: paulmck@linux.vnet.ibm.com
Link: http://lkml.kernel.org/r/1507055129-12300-1-git-send-email-will.deacon@arm.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'arch/hexagon/include/asm/mmu.h')
0 files changed, 0 insertions, 0 deletions