|
|
|
|
|
|
|
|
|
|
xen-devel
[PATCH] compilation fix of iommu.h (was Re: [Xen-devel] [VTD] [PATCH 2/2
[IA64] compilation fix of iommu.h
Trivial compilation fix of iommu.h.
It includes asm/msi.h for struct msi_desc and struct msi_msg definition.
msi.h doesn't exist yet on ia64 so declare struct msi_desc and
struct msi_msg in iommu.h and don't include asm/msi.h.
Signed-off-by: Isaku Yamahata <yamahata@xxxxxxxxxxxxx>
diff -r e5344a478af5 xen/include/xen/iommu.h
--- a/xen/include/xen/iommu.h Fri May 30 10:54:43 2008 +0900
+++ b/xen/include/xen/iommu.h Fri May 30 11:04:26 2008 +0900
@@ -26,7 +26,6 @@
#include <xen/pci.h>
#include <public/hvm/ioreq.h>
#include <public/domctl.h>
-#include <asm/msi.h>
extern int vtd_enabled;
extern int iommu_enabled;
@@ -78,6 +77,9 @@
unsigned int io_apic_read_remap_rte(unsigned int apic, unsigned int reg);
void io_apic_write_remap_rte(unsigned int apic,
unsigned int reg, unsigned int value);
+
+struct msi_desc;
+struct msi_msg;
void msi_msg_read_remap_rte(struct msi_desc *msi_desc, struct msi_msg *msg);
void msi_msg_write_remap_rte(struct msi_desc *msi_desc, struct msi_msg *msg);
struct qi_ctrl *iommu_qi_ctrl(struct iommu *iommu);
--
yamahata
01-compilation-fix-iommu.patch
Description: Text Data
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
|
|
|
|