Discussion:
[Xen-changelog] [xen master] xen/arm: Only include stringify.h when necessary
p***@xen.org
2018-11-19 11:56:07 UTC
Permalink
commit 518eed5df6186e3f65bcc627adfe1babde736249
Author: Julien Grall <***@arm.com>
AuthorDate: Wed Oct 31 18:13:04 2018 +0000
Commit: Stefano Stabellini <***@kernel.org>
CommitDate: Fri Nov 9 10:14:36 2018 -0800

xen/arm: Only include stringify.h when necessary

Signed-off-by: Julien Grall <***@arm.com>
Reviewed-by: Andrii Anisov <***@epam.com>
Acked-by: Stefano Stabellini <***@kernel.org>
---
xen/include/asm-arm/arm32/sysregs.h | 1 +
xen/include/asm-arm/arm64/processor.h | 2 --
xen/include/asm-arm/cpregs.h | 2 --
3 files changed, 1 insertion(+), 4 deletions(-)

diff --git a/xen/include/asm-arm/arm32/sysregs.h b/xen/include/asm-arm/arm32/sysregs.h
index b25b59a557..25cdcbfa4e 100644
--- a/xen/include/asm-arm/arm32/sysregs.h
+++ b/xen/include/asm-arm/arm32/sysregs.h
@@ -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 */
diff --git a/xen/include/asm-arm/arm64/processor.h b/xen/include/asm-arm/arm64/processor.h
index 765de1b74b..81dfc5e615 100644
--- a/xen/include/asm-arm/arm64/processor.h
+++ b/xen/include/asm-arm/arm64/processor.h
@@ -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). */
diff --git a/xen/include/asm-arm/cpregs.h b/xen/include/asm-arm/cpregs.h
index 07e5791983..97a3c6f1c1 100644
--- a/xen/include/asm-arm/cpregs.h
+++ b/xen/include/asm-arm/cpregs.h
@@ -1,8 +1,6 @@
#ifndef __ASM_ARM_CPREGS_H
#define __ASM_ARM_CPREGS_H

-#include <xen/stringify.h>
-
/*
* AArch32 Co-processor registers.
*
--
generated by git-patchbot for /home/xen/git/xen.git#master

Loading...