diff mbox

[RFC,02/16] xen/arm: Include the header asm-arm/system.h in asm-arm/page.h

Message ID 1462466065-30212-3-git-send-email-julien.grall@arm.com (mailing list archive)
State New, archived
Headers show

Commit Message

Julien Grall May 5, 2016, 4:34 p.m. UTC
The header asm-arm/page.h makes use of the macro dsb defined in the header
asm-arm/system.h. Currently, the includer has to specify both of them.

This can be avoided by including asm-arm/system.h in asm-arm/page.h.

Signed-off-by: Julien Grall <julien.grall@arm.com>
---
 xen/include/asm-arm/page.h | 1 +
 1 file changed, 1 insertion(+)

Comments

Stefano Stabellini May 9, 2016, 9:34 a.m. UTC | #1
On Thu, 5 May 2016, Julien Grall wrote:
> The header asm-arm/page.h makes use of the macro dsb defined in the header
> asm-arm/system.h. Currently, the includer has to specify both of them.
> 
> This can be avoided by including asm-arm/system.h in asm-arm/page.h.
> 
> Signed-off-by: Julien Grall <julien.grall@arm.com>

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


>  xen/include/asm-arm/page.h | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/xen/include/asm-arm/page.h b/xen/include/asm-arm/page.h
> index a94e978..05d9f82 100644
> --- a/xen/include/asm-arm/page.h
> +++ b/xen/include/asm-arm/page.h
> @@ -84,6 +84,7 @@
>  #include <xen/errno.h>
>  #include <xen/types.h>
>  #include <xen/lib.h>
> +#include <asm/system.h>
>  
>  /* WARNING!  Unlike the Intel pagetable code, where l1 is the lowest
>   * level and l4 is the root of the trie, the ARM pagetables follow ARM's
> -- 
> 1.9.1
>
diff mbox

Patch

diff --git a/xen/include/asm-arm/page.h b/xen/include/asm-arm/page.h
index a94e978..05d9f82 100644
--- a/xen/include/asm-arm/page.h
+++ b/xen/include/asm-arm/page.h
@@ -84,6 +84,7 @@ 
 #include <xen/errno.h>
 #include <xen/types.h>
 #include <xen/lib.h>
+#include <asm/system.h>
 
 /* WARNING!  Unlike the Intel pagetable code, where l1 is the lowest
  * level and l4 is the root of the trie, the ARM pagetables follow ARM's