Dmitry Vyukov | 5c9a875 | 2016-03-22 14:27:30 -0700 | [diff] [blame] | 1 | # Any varying coverage in these files is non-deterministic |
| 2 | # and is generally not a function of system call inputs. |
| 3 | KCOV_INSTRUMENT := n |
Peter Zijlstra | 01768b4 | 2013-10-31 18:11:53 +0100 | [diff] [blame] | 4 | |
Oleg Nesterov | bf3eac8 | 2015-08-11 17:26:29 +0200 | [diff] [blame] | 5 | obj-y += mutex.o semaphore.o rwsem.o percpu-rwsem.o |
Peter Zijlstra | 01768b4 | 2013-10-31 18:11:53 +0100 | [diff] [blame] | 6 | |
| 7 | ifdef CONFIG_FUNCTION_TRACER |
Heiko Carstens | c0a80c0 | 2015-01-09 13:06:33 +0100 | [diff] [blame] | 8 | CFLAGS_REMOVE_lockdep.o = $(CC_FLAGS_FTRACE) |
| 9 | CFLAGS_REMOVE_lockdep_proc.o = $(CC_FLAGS_FTRACE) |
| 10 | CFLAGS_REMOVE_mutex-debug.o = $(CC_FLAGS_FTRACE) |
| 11 | CFLAGS_REMOVE_rtmutex-debug.o = $(CC_FLAGS_FTRACE) |
Peter Zijlstra | 01768b4 | 2013-10-31 18:11:53 +0100 | [diff] [blame] | 12 | endif |
| 13 | |
| 14 | obj-$(CONFIG_DEBUG_MUTEXES) += mutex-debug.o |
Peter Zijlstra | 8eddac3 | 2013-10-31 18:14:17 +0100 | [diff] [blame] | 15 | obj-$(CONFIG_LOCKDEP) += lockdep.o |
| 16 | ifeq ($(CONFIG_PROC_FS),y) |
| 17 | obj-$(CONFIG_LOCKDEP) += lockdep_proc.o |
| 18 | endif |
Peter Zijlstra | 60fc287 | 2013-10-31 18:15:36 +0100 | [diff] [blame] | 19 | obj-$(CONFIG_SMP) += spinlock.o |
Davidlohr Bueso | d84b672 | 2015-01-06 11:45:07 -0800 | [diff] [blame] | 20 | obj-$(CONFIG_LOCK_SPIN_ON_OWNER) += osq_lock.o |
Josh Triplett | 64b47e8 | 2014-04-07 15:39:45 -0700 | [diff] [blame] | 21 | obj-$(CONFIG_SMP) += lglock.o |
Peter Zijlstra | 60fc287 | 2013-10-31 18:15:36 +0100 | [diff] [blame] | 22 | obj-$(CONFIG_PROVE_LOCKING) += spinlock.o |
Ingo Molnar | 62c7a1e | 2015-05-11 09:47:23 +0200 | [diff] [blame] | 23 | obj-$(CONFIG_QUEUED_SPINLOCKS) += qspinlock.o |
Peter Zijlstra | 1696a8b | 2013-10-31 18:18:19 +0100 | [diff] [blame] | 24 | obj-$(CONFIG_RT_MUTEXES) += rtmutex.o |
| 25 | obj-$(CONFIG_DEBUG_RT_MUTEXES) += rtmutex-debug.o |
Peter Zijlstra | 60fc287 | 2013-10-31 18:15:36 +0100 | [diff] [blame] | 26 | obj-$(CONFIG_DEBUG_SPINLOCK) += spinlock.o |
| 27 | obj-$(CONFIG_DEBUG_SPINLOCK) += spinlock_debug.o |
Peter Zijlstra | ed428bf | 2013-10-31 18:19:28 +0100 | [diff] [blame] | 28 | obj-$(CONFIG_RWSEM_GENERIC_SPINLOCK) += rwsem-spinlock.o |
Peter Zijlstra | 32cf7c3 | 2013-11-04 18:05:09 +0100 | [diff] [blame] | 29 | obj-$(CONFIG_RWSEM_XCHGADD_ALGORITHM) += rwsem-xadd.o |
Waiman Long | c7114b4 | 2015-05-11 13:57:11 -0400 | [diff] [blame] | 30 | obj-$(CONFIG_QUEUED_RWLOCKS) += qrwlock.o |
Paul E. McKenney | 0af3fe1 | 2014-02-04 15:51:41 -0800 | [diff] [blame] | 31 | obj-$(CONFIG_LOCK_TORTURE_TEST) += locktorture.o |