]> rtime.felk.cvut.cz Git - jailhouse.git/commitdiff
x86: Add missing include to amd_iommu.h
authorJan Kiszka <jan.kiszka@siemens.com>
Sat, 11 Jun 2016 17:00:13 +0000 (19:00 +0200)
committerJan Kiszka <jan.kiszka@siemens.com>
Mon, 13 Jun 2016 07:13:59 +0000 (09:13 +0200)
Reported by header-check script: We need this in the header due to the
use of struct jailhouse_memory. Consequently, we can remove the include
from the corresponding amd_iommu.c.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
hypervisor/arch/x86/amd_iommu.c
hypervisor/arch/x86/include/asm/amd_iommu.h

index fb2f952fd7a1d7759dcf5f7f50bec48b7e675e73..b3b8087eecbff30f7a8798d938a55bfe38b91c43 100644 (file)
@@ -17,7 +17,6 @@
  */
 
 #include <jailhouse/cell.h>
-#include <jailhouse/cell-config.h>
 #include <jailhouse/control.h>
 #include <jailhouse/mmio.h>
 #include <jailhouse/pci.h>
index dc069b2697eb9df669ae05cb06841939e3c500e8..92bd85289a9bcb58e2192aa12d7729b30e41a16c 100644 (file)
@@ -18,6 +18,8 @@
 #include <jailhouse/types.h>
 #include <jailhouse/utils.h>
 
+#include <jailhouse/cell-config.h>
+
 #define AMD_IOMMU_PTE_P                        (1ULL <<  0)
 #define AMD_IOMMU_PTE_PG_MODE(level)   ((level) << 9)
 #define AMD_IOMMU_PTE_PG_MODE_MASK     BIT_MASK(11, 9)