ia64/xen-unstable

changeset 17760:c76e7f396c03

[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@valinux.co.jp>
author Keir Fraser <keir.fraser@citrix.com>
date Fri May 30 15:09:40 2008 +0100 (2008-05-30)
parents ecd266cebcab
children 439a3e9459f2
files xen/include/xen/iommu.h
line diff
     1.1 --- a/xen/include/xen/iommu.h	Fri May 30 15:06:08 2008 +0100
     1.2 +++ b/xen/include/xen/iommu.h	Fri May 30 15:09:40 2008 +0100
     1.3 @@ -26,7 +26,6 @@
     1.4  #include <xen/pci.h>
     1.5  #include <public/hvm/ioreq.h>
     1.6  #include <public/domctl.h>
     1.7 -#include <asm/msi.h>
     1.8  
     1.9  extern int vtd_enabled;
    1.10  extern int iommu_enabled;
    1.11 @@ -79,6 +78,9 @@ int pt_irq_destroy_bind_vtd(struct domai
    1.12  unsigned int io_apic_read_remap_rte(unsigned int apic, unsigned int reg);
    1.13  void io_apic_write_remap_rte(unsigned int apic,
    1.14                               unsigned int reg, unsigned int value);
    1.15 +
    1.16 +struct msi_desc;
    1.17 +struct msi_msg;
    1.18  void msi_msg_read_remap_rte(struct msi_desc *msi_desc, struct msi_msg *msg);
    1.19  void msi_msg_write_remap_rte(struct msi_desc *msi_desc, struct msi_msg *msg);
    1.20  struct qi_ctrl *iommu_qi_ctrl(struct iommu *iommu);