diff mbox series

xen/arm: Use asm/ rather than asm-arm/ when including header

Message ID 20200213123906.10376-1-julien@xen.org (mailing list archive)
State New, archived
Headers show
Series xen/arm: Use asm/ rather than asm-arm/ when including header | expand

Commit Message

Julien Grall Feb. 13, 2020, 12:39 p.m. UTC
All the arch headers (i.e under asm-arm) are included using "asm/*.h".

To stay consistent, remove the only instance where "asm-arm/*.h" is
used.

Take the opportunity to move the inclusion with the rest of the asm/
include.

Signed-off-by: Julien Grall <julien@xen.org>
---
 xen/include/asm-arm/domain.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Stefano Stabellini Feb. 14, 2020, 12:44 a.m. UTC | #1
On Thu, 13 Feb 2020, Julien Grall wrote:
> All the arch headers (i.e under asm-arm) are included using "asm/*.h".
> 
> To stay consistent, remove the only instance where "asm-arm/*.h" is
> used.
> 
> Take the opportunity to move the inclusion with the rest of the asm/
> include.
> 
> Signed-off-by: Julien Grall <julien@xen.org>

Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>


> ---
>  xen/include/asm-arm/domain.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/xen/include/asm-arm/domain.h b/xen/include/asm-arm/domain.h
> index 85a6f17d4d..d2142c6707 100644
> --- a/xen/include/asm-arm/domain.h
> +++ b/xen/include/asm-arm/domain.h
> @@ -9,10 +9,10 @@
>  #include <asm/mmio.h>
>  #include <asm/gic.h>
>  #include <asm/vgic.h>
> +#include <asm/vpl011.h>
>  #include <public/hvm/params.h>
>  #include <xen/serial.h>
>  #include <xen/rbtree.h>
> -#include <asm-arm/vpl011.h>
>  
>  struct hvm_domain
>  {
> -- 
> 2.17.1
>
diff mbox series

Patch

diff --git a/xen/include/asm-arm/domain.h b/xen/include/asm-arm/domain.h
index 85a6f17d4d..d2142c6707 100644
--- a/xen/include/asm-arm/domain.h
+++ b/xen/include/asm-arm/domain.h
@@ -9,10 +9,10 @@ 
 #include <asm/mmio.h>
 #include <asm/gic.h>
 #include <asm/vgic.h>
+#include <asm/vpl011.h>
 #include <public/hvm/params.h>
 #include <xen/serial.h>
 #include <xen/rbtree.h>
-#include <asm-arm/vpl011.h>
 
 struct hvm_domain
 {