[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [PATCH 4/8] Arm: prune #include-s needed by domain.h
asm/domain.h is a dependency of xen/sched.h, and hence should not itself include xen/sched.h. Nor should any of the other #include-s used by it. While at it, also drop two other #include-s that aren't needed by this particular header. Signed-off-by: Jan Beulich <jbeulich@xxxxxxxx> --- a/xen/include/asm-arm/domain.h +++ b/xen/include/asm-arm/domain.h @@ -2,7 +2,7 @@ #define __ASM_DOMAIN_H__ #include <xen/cache.h> -#include <xen/sched.h> +#include <xen/timer.h> #include <asm/page.h> #include <asm/p2m.h> #include <asm/vfp.h> @@ -11,8 +11,6 @@ #include <asm/vgic.h> #include <asm/vpl011.h> #include <public/hvm/params.h> -#include <xen/serial.h> -#include <xen/rbtree.h> struct hvm_domain { --- a/xen/include/asm-arm/vfp.h +++ b/xen/include/asm-arm/vfp.h @@ -1,7 +1,7 @@ #ifndef _ASM_VFP_H #define _ASM_VFP_H -#include <xen/sched.h> +struct vcpu; #if defined(CONFIG_ARM_32) # include <asm/arm32/vfp.h>
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |