]> xenbits.xensource.com Git - people/jgross/xen.git/commitdiff
Arm: prune #include-s needed by domain.h
authorJan Beulich <jbeulich@suse.com>
Wed, 15 Jul 2020 10:39:06 +0000 (12:39 +0200)
committerJulien Grall <jgrall@amazon.com>
Mon, 20 Jul 2020 16:16:27 +0000 (17:16 +0100)
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@suse.com>
Acked-by: Stefano Stabellini <sstabellini@kernel.org>
xen/include/asm-arm/domain.h
xen/include/asm-arm/vfp.h

index 4e2f582006a53c40fbb86e4e1a11a8356f605b13..6819a3bf382f237ebf1424ef96ece1cc21b93195 100644 (file)
@@ -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
 {
index 5f10fe5962d29dc47741586b8d7085353da85db5..142a91ef8bd1d6844a70d7e84331c1f48e733640 100644 (file)
@@ -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>