locking/rwlocks: Introduce 'qrwlocks' - fair, queued rwlocks
[linux-block.git] / kernel / locking / Makefile
1
2 obj-y += mutex.o semaphore.o rwsem.o mcs_spinlock.o
3
4 ifdef CONFIG_FUNCTION_TRACER
5 CFLAGS_REMOVE_lockdep.o = -pg
6 CFLAGS_REMOVE_lockdep_proc.o = -pg
7 CFLAGS_REMOVE_mutex-debug.o = -pg
8 CFLAGS_REMOVE_rtmutex-debug.o = -pg
9 endif
10
11 obj-$(CONFIG_DEBUG_MUTEXES) += mutex-debug.o
12 obj-$(CONFIG_LOCKDEP) += lockdep.o
13 ifeq ($(CONFIG_PROC_FS),y)
14 obj-$(CONFIG_LOCKDEP) += lockdep_proc.o
15 endif
16 obj-$(CONFIG_SMP) += spinlock.o
17 obj-$(CONFIG_SMP) += lglock.o
18 obj-$(CONFIG_PROVE_LOCKING) += spinlock.o
19 obj-$(CONFIG_RT_MUTEXES) += rtmutex.o
20 obj-$(CONFIG_DEBUG_RT_MUTEXES) += rtmutex-debug.o
21 obj-$(CONFIG_RT_MUTEX_TESTER) += rtmutex-tester.o
22 obj-$(CONFIG_DEBUG_SPINLOCK) += spinlock.o
23 obj-$(CONFIG_DEBUG_SPINLOCK) += spinlock_debug.o
24 obj-$(CONFIG_RWSEM_GENERIC_SPINLOCK) += rwsem-spinlock.o
25 obj-$(CONFIG_RWSEM_XCHGADD_ALGORITHM) += rwsem-xadd.o
26 obj-$(CONFIG_PERCPU_RWSEM) += percpu-rwsem.o
27 obj-$(CONFIG_QUEUE_RWLOCK) += qrwlock.o
28 obj-$(CONFIG_LOCK_TORTURE_TEST) += locktorture.o