diff options
author | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2014-02-05 00:51:41 +0100 |
---|---|---|
committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2014-02-23 18:04:29 +0100 |
commit | 0af3fe1efa534a43385fe2694c42ffec7a310e46 (patch) | |
tree | 32a167b7b5cae8a461569ca5b58433b1400ac5b8 /kernel/locking/Makefile | |
parent | rcutorture: Abstract kvm-recheck.sh (diff) | |
download | linux-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/Makefile | 1 |
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 |