From: Andrew Cooper Date: Fri, 26 Jul 2019 19:26:24 +0000 (+0100) Subject: xen/percpu: Drop unused xen/percpu.h includes X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=0aad20566bfb1fcd87ad87d255cafb41f6b7b00e;p=people%2Fdwmw2%2Fxen.git xen/percpu: Drop unused xen/percpu.h includes None of these headers use any PER_CPU() infrastructure. xen/rwlock.h however does, and picked it up transitively via xen/spinlock.h, so include it properly. Signed-off-by: Andrew Cooper Reviewed-by: Roger Pau Monné Acked-by: Jan Beulich --- diff --git a/xen/include/asm-x86/i387.h b/xen/include/asm-x86/i387.h index 434a7761a5..a783549db9 100644 --- a/xen/include/asm-x86/i387.h +++ b/xen/include/asm-x86/i387.h @@ -12,7 +12,6 @@ #define __ASM_I386_I387_H #include -#include /* Byte offset of the stored word size within the FXSAVE area/portion. */ #define FPU_WORD_SIZE_OFFSET 511 diff --git a/xen/include/xen/multicall.h b/xen/include/xen/multicall.h index d0aa52009c..ac8238660a 100644 --- a/xen/include/xen/multicall.h +++ b/xen/include/xen/multicall.h @@ -5,7 +5,6 @@ #ifndef __XEN_MULTICALL_H__ #define __XEN_MULTICALL_H__ -#include #ifdef CONFIG_COMPAT #include #endif diff --git a/xen/include/xen/rcupdate.h b/xen/include/xen/rcupdate.h index 3402eb5caf..13850865ed 100644 --- a/xen/include/xen/rcupdate.h +++ b/xen/include/xen/rcupdate.h @@ -33,7 +33,6 @@ #include #include -#include #include #include diff --git a/xen/include/xen/rwlock.h b/xen/include/xen/rwlock.h index 35657c56c4..3dfea1ac2a 100644 --- a/xen/include/xen/rwlock.h +++ b/xen/include/xen/rwlock.h @@ -1,6 +1,7 @@ #ifndef __RWLOCK_H__ #define __RWLOCK_H__ +#include #include #include diff --git a/xen/include/xen/spinlock.h b/xen/include/xen/spinlock.h index a811b73bf3..2c7415e23a 100644 --- a/xen/include/xen/spinlock.h +++ b/xen/include/xen/spinlock.h @@ -4,7 +4,6 @@ #include #include #include -#include #ifndef NDEBUG struct lock_debug {