]> xenbits.xensource.com Git - xen.git/commitdiff
xen/arm: Include the header asm-arm/system.h in asm-arm/page.h
authorJulien Grall <julien.grall@arm.com>
Wed, 22 Jun 2016 11:15:17 +0000 (12:15 +0100)
committerStefano Stabellini <sstabellini@kernel.org>
Wed, 13 Jul 2016 17:30:42 +0000 (18:30 +0100)
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

index a94e978a9995e9428ae9b83599c4aaf53710d06a..05d9f82d0dfa9a9d19ce6127b6380326dba044e8 100644 (file)
@@ -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