summaryrefslogtreecommitdiffstats
path: root/kernel/locking/Makefile
diff options
context:
space:
mode:
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>2014-02-05 00:51:41 +0100
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>2014-02-23 18:04:29 +0100
commit0af3fe1efa534a43385fe2694c42ffec7a310e46 (patch)
tree32a167b7b5cae8a461569ca5b58433b1400ac5b8 /kernel/locking/Makefile
parentrcutorture: Abstract kvm-recheck.sh (diff)
downloadlinux-0af3fe1efa534a43385fe2694c42ffec7a310e46.tar.xz
linux-0af3fe1efa534a43385fe2694c42ffec7a310e46.zip
locktorture: Add a lock-torture kernel module
This commit adds the locking counterpart to rcutorture. Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com> [ paulmck: Make n_lock_torture_errors and torture_spinlock static as suggested by Fengguang Wu. ] Reviewed-by: Josh Triplett <josh@joshtriplett.org>
Diffstat (limited to 'kernel/locking/Makefile')
-rw-r--r--kernel/locking/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/locking/Makefile b/kernel/locking/Makefile
index baab8e5e7f66..a28ea6d9e6e8 100644
--- a/kernel/locking/Makefile
+++ b/kernel/locking/Makefile
@@ -23,3 +23,4 @@ obj-$(CONFIG_DEBUG_SPINLOCK) += spinlock_debug.o
obj-$(CONFIG_RWSEM_GENERIC_SPINLOCK) += rwsem-spinlock.o
obj-$(CONFIG_RWSEM_XCHGADD_ALGORITHM) += rwsem-xadd.o
obj-$(CONFIG_PERCPU_RWSEM) += percpu-rwsem.o
+obj-$(CONFIG_LOCK_TORTURE_TEST) += locktorture.o