[Xen-devel,16/22] xen/arm: Remove unnecessary includes in traps.c

Message ID 20181018132109.31192-17-julien.grall@arm.com
State Superseded
Headers show
Series
  • xen/arm: Bunch of clean-ups
Related show

Commit Message

Julien Grall Oct. 18, 2018, 1:21 p.m.
Also, include smccc.h instead of psci.h.

Signed-off-by: Julien Grall <julien.grall@arm.com>
---
 xen/arch/arm/traps.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

Comments

Andrii Anisov Oct. 25, 2018, 5:50 p.m. | #1
On 18.10.18 16:21, Julien Grall wrote:
> Also, include smccc.h instead of psci.h.
>
> Signed-off-by: Julien Grall <julien.grall@arm.com>
> ---

Reviewed-by: Andrii Anisov<andrii_anisov@epam.com>

Patch

diff --git a/xen/arch/arm/traps.c b/xen/arch/arm/traps.c
index 0dd664cc08..9c3be17df8 100644
--- a/xen/arch/arm/traps.c
+++ b/xen/arch/arm/traps.c
@@ -42,12 +42,10 @@ 
 #include <asm/cpufeature.h>
 #include <asm/debugger.h>
 #include <asm/event.h>
-#include <asm/flushtlb.h>
 #include <asm/hsr.h>
 #include <asm/mmio.h>
-#include <asm/monitor.h>
-#include <asm/psci.h>
 #include <asm/regs.h>
+#include <asm/smccc.h>
 #include <asm/traps.h>
 #include <asm/vgic.h>
 #include <asm/vtimer.h>