kernel-hacking-2024-linux-s.../arch/mn10300
Will Deacon a8a217c221 locking/core: Remove {read,spin,write}_can_lock()
Outside of the locking code itself, {read,spin,write}_can_lock() have no
users in tree. Apparmor (the last remaining user of write_can_lock()) got
moved over to lockdep by the previous patch.

This patch removes the use of {read,spin,write}_can_lock() from the
BUILD_LOCK_OPS macro, deferring to the trylock operation for testing the
lock status, and subsequently removes the unused macros altogether. They
aren't guaranteed to work in a concurrent environment and can give
incorrect results in the case of qrwlock.

Signed-off-by: Will Deacon <will.deacon@arm.com>
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: paulmck@linux.vnet.ibm.com
Link: http://lkml.kernel.org/r/1507055129-12300-2-git-send-email-will.deacon@arm.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
2017-10-10 11:50:18 +02:00
..
boot
configs mn10300: defconfig: cleanup from old Kconfig options 2017-09-08 18:26:51 -07:00
include locking/core: Remove {read,spin,write}_can_lock() 2017-10-10 11:50:18 +02:00
kernel arch: remove unused *_segments() macros/functions 2017-09-22 12:59:52 -10:00
lib get rid of unused __strncpy_from_user() instances 2017-05-15 23:40:28 -04:00
mm sched/headers: Prepare to remove the <linux/mm_types.h> dependency from <linux/sched.h> 2017-03-02 08:42:37 +01:00
oprofile
proc-mn2ws0050
proc-mn103e010
unit-asb2303
unit-asb2305 mn10300/PCI: Use generic pci_mmap_resource_range() 2017-04-20 08:47:47 -05:00
unit-asb2364
Kconfig CONFIG_ARCH_HAS_RAW_COPY_USER is unconditional now 2017-04-26 12:11:01 -04:00
Kconfig.debug
Makefile