diff options
author | 2014-09-29 06:14:26 -0700 | |
---|---|---|
committer | 2014-09-30 00:10:02 -0700 | |
commit | c98fed9fc6a7449affd941d8a8e9fcb0c72977d6 (patch) | |
tree | 5e3d24afc451e849e7ccadaf3eb0497337d73bff /kernel/locking/locktorture.c | |
parent | locktorture: Cannot hold read and write lock (diff) | |
download | linux-c98fed9fc6a7449affd941d8a8e9fcb0c72977d6.tar.gz linux-c98fed9fc6a7449affd941d8a8e9fcb0c72977d6.tar.bz2 linux-c98fed9fc6a7449affd941d8a8e9fcb0c72977d6.zip |
locktorture: Cleanup header usage
Remove some unnecessary ones and explicitly include rwsem.h
Signed-off-by: Davidlohr Bueso <dbueso@suse.de>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Diffstat (limited to 'kernel/locking/locktorture.c')
-rw-r--r-- | kernel/locking/locktorture.c | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/kernel/locking/locktorture.c b/kernel/locking/locktorture.c index b05dc46c4297..ec8cce259779 100644 --- a/kernel/locking/locktorture.c +++ b/kernel/locking/locktorture.c @@ -20,32 +20,20 @@ * Author: Paul E. McKenney <paulmck@us.ibm.com> * Based on kernel/rcu/torture.c. */ -#include <linux/types.h> #include <linux/kernel.h> -#include <linux/init.h> #include <linux/module.h> #include <linux/kthread.h> -#include <linux/err.h> #include <linux/spinlock.h> #include <linux/rwlock.h> #include <linux/mutex.h> +#include <linux/rwsem.h> #include <linux/smp.h> #include <linux/interrupt.h> #include <linux/sched.h> #include <linux/atomic.h> -#include <linux/bitops.h> -#include <linux/completion.h> #include <linux/moduleparam.h> -#include <linux/percpu.h> -#include <linux/notifier.h> -#include <linux/reboot.h> -#include <linux/freezer.h> -#include <linux/cpu.h> #include <linux/delay.h> -#include <linux/stat.h> #include <linux/slab.h> -#include <linux/trace_clock.h> -#include <asm/byteorder.h> #include <linux/torture.h> MODULE_LICENSE("GPL"); |