1 2obj-y += mutex.o semaphore.o rwsem.o percpu-rwsem.o 3 4ifdef CONFIG_FUNCTION_TRACER 5CFLAGS_REMOVE_lockdep.o = $(CC_FLAGS_FTRACE) 6CFLAGS_REMOVE_lockdep_proc.o = $(CC_FLAGS_FTRACE) 7CFLAGS_REMOVE_mutex-debug.o = $(CC_FLAGS_FTRACE) 8CFLAGS_REMOVE_rtmutex-debug.o = $(CC_FLAGS_FTRACE) 9endif 10 11obj-$(CONFIG_DEBUG_MUTEXES) += mutex-debug.o 12obj-$(CONFIG_LOCKDEP) += lockdep.o 13ifeq ($(CONFIG_PROC_FS),y) 14obj-$(CONFIG_LOCKDEP) += lockdep_proc.o 15endif 16obj-$(CONFIG_SMP) += spinlock.o 17obj-$(CONFIG_LOCK_SPIN_ON_OWNER) += osq_lock.o 18obj-$(CONFIG_SMP) += lglock.o 19obj-$(CONFIG_PROVE_LOCKING) += spinlock.o 20obj-$(CONFIG_QUEUED_SPINLOCKS) += qspinlock.o 21obj-$(CONFIG_RT_MUTEXES) += rtmutex.o 22obj-$(CONFIG_DEBUG_RT_MUTEXES) += rtmutex-debug.o 23obj-$(CONFIG_DEBUG_SPINLOCK) += spinlock.o 24obj-$(CONFIG_DEBUG_SPINLOCK) += spinlock_debug.o 25obj-$(CONFIG_RWSEM_GENERIC_SPINLOCK) += rwsem-spinlock.o 26obj-$(CONFIG_RWSEM_XCHGADD_ALGORITHM) += rwsem-xadd.o 27obj-$(CONFIG_QUEUED_RWLOCKS) += qrwlock.o 28obj-$(CONFIG_LOCK_TORTURE_TEST) += locktorture.o 29