[PATCH 19/21] arm: Clean up includes of asm/traps.h

2 views
Skip to first unread message

Jan Kiszka

unread,
Sep 29, 2016, 4:22:49 PM9/29/16
to jailho...@googlegroups.com
jailhouse/printk.h and asm/percpu.h belong to the module that lack it
as explicit inclusion.

Signed-off-by: Jan Kiszka <jan.k...@siemens.com>
---
hypervisor/arch/arm/include/asm/traps.h | 2 --
hypervisor/arch/arm/mmio.c | 2 ++
2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/hypervisor/arch/arm/include/asm/traps.h b/hypervisor/arch/arm/include/asm/traps.h
index 1a6f576..7b46725 100644
--- a/hypervisor/arch/arm/include/asm/traps.h
+++ b/hypervisor/arch/arm/include/asm/traps.h
@@ -13,10 +13,8 @@
#ifndef _JAILHOUSE_ASM_TRAPS_H
#define _JAILHOUSE_ASM_TRAPS_H

-#include <jailhouse/printk.h>
#include <jailhouse/types.h>
#include <asm/head.h>
-#include <asm/percpu.h>

#ifndef __ASSEMBLY__

diff --git a/hypervisor/arch/arm/mmio.c b/hypervisor/arch/arm/mmio.c
index 5f18507..18f3389 100644
--- a/hypervisor/arch/arm/mmio.c
+++ b/hypervisor/arch/arm/mmio.c
@@ -11,8 +11,10 @@
*/

#include <jailhouse/mmio.h>
+#include <jailhouse/printk.h>
#include <asm/bitops.h>
#include <asm/irqchip.h>
+#include <asm/percpu.h>
#include <asm/processor.h>
#include <asm/smp.h>
#include <asm/traps.h>
--
2.1.4

Reply all
Reply to author
Forward
0 new messages