1# Any varying coverage in these files is non-deterministic 2# and is generally not a function of system call inputs. 3KCOV_INSTRUMENT := n 4 5obj-y += mutex.o semaphore.o rwsem.o mcs_spinlock.o 6 7ifdef CONFIG_FUNCTION_TRACER 8CFLAGS_REMOVE_lockdep.o = -pg 9CFLAGS_REMOVE_lockdep_proc.o = -pg 10CFLAGS_REMOVE_mutex-debug.o = -pg 11CFLAGS_REMOVE_rtmutex-debug.o = -pg 12endif 13 14obj-$(CONFIG_DEBUG_MUTEXES) += mutex-debug.o 15obj-$(CONFIG_LOCKDEP) += lockdep.o 16ifeq ($(CONFIG_PROC_FS),y) 17obj-$(CONFIG_LOCKDEP) += lockdep_proc.o 18endif 19obj-$(CONFIG_SMP) += spinlock.o 20obj-$(CONFIG_SMP) += lglock.o 21obj-$(CONFIG_PROVE_LOCKING) += spinlock.o 22obj-$(CONFIG_RT_MUTEXES) += rtmutex.o 23obj-$(CONFIG_DEBUG_RT_MUTEXES) += rtmutex-debug.o 24obj-$(CONFIG_RT_MUTEX_TESTER) += rtmutex-tester.o 25obj-$(CONFIG_DEBUG_SPINLOCK) += spinlock.o 26obj-$(CONFIG_DEBUG_SPINLOCK) += spinlock_debug.o 27obj-$(CONFIG_RWSEM_GENERIC_SPINLOCK) += rwsem-spinlock.o 28obj-$(CONFIG_RWSEM_XCHGADD_ALGORITHM) += rwsem-xadd.o 29obj-$(CONFIG_PERCPU_RWSEM) += percpu-rwsem.o 30obj-$(CONFIG_QUEUE_RWLOCK) += qrwlock.o 31obj-$(CONFIG_LOCK_TORTURE_TEST) += locktorture.o 32