]> xenbits.xensource.com Git - xen.git/commitdiff
xen/arm: Only include vreg.h when necessary
authorJulien Grall <julien.grall@arm.com>
Wed, 31 Oct 2018 18:13:05 +0000 (18:13 +0000)
committerStefano Stabellini <sstabellini@kernel.org>
Fri, 9 Nov 2018 18:14:38 +0000 (10:14 -0800)
Signed-off-by: Julien Grall <julien.grall@arm.com>
Reviewed-by: Andrii Anisov <andrii_anisov@epam.com>
Acked-by: Stefano Stabellini <sstabellini@kernel.org>
xen/arch/arm/vgic-v2.c
xen/arch/arm/vgic-v3-its.c
xen/arch/arm/vpl011.c
xen/include/asm-arm/vgic.h
xen/include/asm-arm/vpl011.h

index 0099fcffdad44f67948e16f5c452b0abd362546a..bf77899dbafffea122d5663a4c6cd39e8361052c 100644 (file)
@@ -31,6 +31,7 @@
 #include <asm/platform.h>
 #include <asm/vgic.h>
 #include <asm/vgic-emul.h>
+#include <asm/vreg.h>
 
 static struct {
     bool enabled;
index 9edd97c4e742af1303f557a8bc54702d9b25a6b2..5b73c4ecd792105e580cec78fb4524fcfd80c618 100644 (file)
@@ -45,6 +45,7 @@
 #include <asm/gic_v3_its.h>
 #include <asm/vgic.h>
 #include <asm/vgic-emul.h>
+#include <asm/vreg.h>
 
 /*
  * Data structure to describe a virtual ITS.
index a281eabd7e3cbe96fe02000fdd983b4d3a38c28d..117e41c7607d542e05296e5956712141aa6b8d70 100644 (file)
@@ -33,6 +33,7 @@
 #include <asm/pl011-uart.h>
 #include <asm/vgic-emul.h>
 #include <asm/vpl011.h>
+#include <asm/vreg.h>
 
 /*
  * Since pl011 registers are 32-bit registers, all registers
index 374fdaa40d43c69396a293ab9215c2298dff7a8a..760392f9ef24a925c4710b61653dc0cae923b252 100644 (file)
@@ -27,7 +27,6 @@
 #include <xen/rbtree.h>
 #include <asm/gic.h>
 #include <asm/mmio.h>
-#include <asm/vreg.h>
 
 struct pending_irq
 {
index db95ff822f21c0a176b0e0e6c87d5b2a7b0d9943..a82869a53c801b0a5be5fd5641ff48fd6fd3840a 100644 (file)
@@ -21,7 +21,6 @@
 
 #include <public/domctl.h>
 #include <public/io/ring.h>
-#include <asm/vreg.h>
 #include <xen/mm.h>
 
 /* helper macros */