From: Jan Beulich Date: Wed, 15 Jul 2020 10:39:06 +0000 (+0200) Subject: Arm: prune #include-s needed by domain.h X-Git-Tag: archive/raspbian/4.16.0+51-g0941d6cb-1+rpi1~2^2~42^2~1843 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=6720345aaf82fc76dca084f3f7a577062f5ff0f3;p=xen.git 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 Acked-by: Stefano Stabellini --- diff --git a/xen/include/asm-arm/domain.h b/xen/include/asm-arm/domain.h index 4e2f582006..6819a3bf38 100644 --- a/xen/include/asm-arm/domain.h +++ b/xen/include/asm-arm/domain.h @@ -2,7 +2,7 @@ #define __ASM_DOMAIN_H__ #include -#include +#include #include #include #include @@ -11,8 +11,6 @@ #include #include #include -#include -#include struct hvm_domain { diff --git a/xen/include/asm-arm/vfp.h b/xen/include/asm-arm/vfp.h index 5f10fe5962..142a91ef8b 100644 --- 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 +struct vcpu; #if defined(CONFIG_ARM_32) # include