xen/arm: Only include stringify.h when necessary
authorJulien Grall <julien.grall@arm.com>
Wed, 31 Oct 2018 18:13:04 +0000 (18:13 +0000)
committerStefano Stabellini <sstabellini@kernel.org>
Fri, 9 Nov 2018 18:14:36 +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/include/asm-arm/arm32/sysregs.h
xen/include/asm-arm/arm64/processor.h
xen/include/asm-arm/cpregs.h

index b25b59a5578d6f026f2efccd0cdc5517b61a788e..25cdcbfa4ecf634c434c458045d40d39e5136c83 100644 (file)
@@ -1,6 +1,7 @@
 #ifndef __ASM_ARM_ARM32_SYSREGS_H
 #define __ASM_ARM_ARM32_SYSREGS_H
 
+#include <xen/stringify.h>
 #include <asm/cpregs.h>
 
 /* Layout as used in assembly, with src/dest registers mixed in */
index 765de1b74ba6c8e3944450b8d5606a9fc6b4bd0b..81dfc5e6153ec663a59e8f776783922008670b29 100644 (file)
@@ -1,8 +1,6 @@
 #ifndef __ASM_ARM_ARM64_PROCESSOR_H
 #define __ASM_ARM_ARM64_PROCESSOR_H
 
-#include <xen/stringify.h>
-
 #ifndef __ASSEMBLY__
 
 /* Anonymous union includes both 32- and 64-bit names (e.g., r0/x0). */
index 07e579198306f62d73dbaec0905ecd57de4acf14..97a3c6f1c1566771239cf5e21bfee15031681690 100644 (file)
@@ -1,8 +1,6 @@
 #ifndef __ASM_ARM_CPREGS_H
 #define __ASM_ARM_CPREGS_H
 
-#include <xen/stringify.h>
-
 /*
  * AArch32 Co-processor registers.
  *