x86/xen: cleanup includes in arch/x86/xen/spinlock.c
Subsystems (2)
Juergen Gross
maintainerPATCH 1/1 x86/xen: cleanup includes in arch/x86/xen/spinlock.c
arch/x86/xen/spinlock.c includes several headers which are not needed. Remove the #includes.
Signed-off-by Juergen Gross <[email protected]>
--- arch/x86/xen/spinlock.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-)
arch/x86/xen/spinlock.c +1 -6
@@ -3,22 +3,17 @@* Split spinlock implementation out into its own file, so it can be * compiled in a FTRACE-compatible way. */ -#include <linux/kernel_stat.h> +#include <linux/kernel.h> #include <linux/spinlock.h> -#include <linux/debugfs.h> -#include <linux/log2.h> -#include <linux/gfp.h> #include <linux/slab.h> #include <linux/atomic.h> #include <asm/paravirt.h> #include <asm/qspinlock.h> -#include <xen/interface/xen.h> #include <xen/events.h> #include "xen-ops.h" -#include "debugfs.h" static DEFINE_PER_CPU(int, lock_kicker_irq) = -1; static DEFINE_PER_CPU(char *, irq_name);
Signature · 1 line
2.16.4
Quoted 5 lines · Juergen Gross
arch/x86/xen/spinlock.cincludes several headers which are not needed. Remove the #includes.Signed-off-by Juergen Gross <[email protected]>---
Reviewed-by Boris Ostrovsky <[email protected]>
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel
Quoted 5 lines · Juergen Gross
arch/x86/xen/spinlock.cincludes several headers which are not needed. Remove the #includes.Signed-off-by Juergen Gross <[email protected]>---
Reviewed-by Boris Ostrovsky <[email protected]>