1 # SPDX-License-Identifier: GPL-2.0 << 2 # Any varying coverage in these files is non-d << 3 # and is generally not a function of system ca << 4 KCOV_INSTRUMENT := n << 5 1 6 obj-y += mutex.o semaphore.o rwsem.o percpu-rw 2 obj-y += mutex.o semaphore.o rwsem.o percpu-rwsem.o 7 3 8 # Avoid recursion lockdep -> sanitizer -> ... << 9 KCSAN_SANITIZE_lockdep.o := n << 10 << 11 ifdef CONFIG_FUNCTION_TRACER 4 ifdef CONFIG_FUNCTION_TRACER 12 CFLAGS_REMOVE_lockdep.o = $(CC_FLAGS_FTRACE) 5 CFLAGS_REMOVE_lockdep.o = $(CC_FLAGS_FTRACE) 13 CFLAGS_REMOVE_lockdep_proc.o = $(CC_FLAGS_FTRA 6 CFLAGS_REMOVE_lockdep_proc.o = $(CC_FLAGS_FTRACE) 14 CFLAGS_REMOVE_mutex-debug.o = $(CC_FLAGS_FTRAC 7 CFLAGS_REMOVE_mutex-debug.o = $(CC_FLAGS_FTRACE) >> 8 CFLAGS_REMOVE_rtmutex-debug.o = $(CC_FLAGS_FTRACE) 15 endif 9 endif 16 10 17 obj-$(CONFIG_DEBUG_IRQFLAGS) += irqflag-debug. << 18 obj-$(CONFIG_DEBUG_MUTEXES) += mutex-debug.o 11 obj-$(CONFIG_DEBUG_MUTEXES) += mutex-debug.o 19 obj-$(CONFIG_LOCKDEP) += lockdep.o 12 obj-$(CONFIG_LOCKDEP) += lockdep.o 20 ifeq ($(CONFIG_PROC_FS),y) 13 ifeq ($(CONFIG_PROC_FS),y) 21 obj-$(CONFIG_LOCKDEP) += lockdep_proc.o 14 obj-$(CONFIG_LOCKDEP) += lockdep_proc.o 22 endif 15 endif 23 obj-$(CONFIG_SMP) += spinlock.o 16 obj-$(CONFIG_SMP) += spinlock.o 24 obj-$(CONFIG_LOCK_SPIN_ON_OWNER) += osq_lock.o 17 obj-$(CONFIG_LOCK_SPIN_ON_OWNER) += osq_lock.o >> 18 obj-$(CONFIG_SMP) += lglock.o 25 obj-$(CONFIG_PROVE_LOCKING) += spinlock.o 19 obj-$(CONFIG_PROVE_LOCKING) += spinlock.o 26 obj-$(CONFIG_QUEUED_SPINLOCKS) += qspinlock.o 20 obj-$(CONFIG_QUEUED_SPINLOCKS) += qspinlock.o 27 obj-$(CONFIG_RT_MUTEXES) += rtmutex_api.o !! 21 obj-$(CONFIG_RT_MUTEXES) += rtmutex.o 28 obj-$(CONFIG_PREEMPT_RT) += spinlock_rt.o ww_r !! 22 obj-$(CONFIG_DEBUG_RT_MUTEXES) += rtmutex-debug.o 29 obj-$(CONFIG_DEBUG_SPINLOCK) += spinlock.o 23 obj-$(CONFIG_DEBUG_SPINLOCK) += spinlock.o 30 obj-$(CONFIG_DEBUG_SPINLOCK) += spinlock_debug 24 obj-$(CONFIG_DEBUG_SPINLOCK) += spinlock_debug.o >> 25 obj-$(CONFIG_RWSEM_GENERIC_SPINLOCK) += rwsem-spinlock.o >> 26 obj-$(CONFIG_RWSEM_XCHGADD_ALGORITHM) += rwsem-xadd.o 31 obj-$(CONFIG_QUEUED_RWLOCKS) += qrwlock.o 27 obj-$(CONFIG_QUEUED_RWLOCKS) += qrwlock.o 32 obj-$(CONFIG_LOCK_TORTURE_TEST) += locktorture 28 obj-$(CONFIG_LOCK_TORTURE_TEST) += locktorture.o 33 obj-$(CONFIG_WW_MUTEX_SELFTEST) += test-ww_mut << 34 obj-$(CONFIG_LOCK_EVENT_COUNTS) += lock_events <<
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.