[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] [IA64] Further irq-vector fix.



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1251801167 -3600
# Node ID a020d0cdf594e36eac03c88abe061118d917c32f
# Parent  b4fcb5f632dc1eddec9dc7437abc665a59dfb5b5
[IA64] Further irq-vector fix.

Signed-off-by: KUWAMURA Shin'ya <kuwa@xxxxxxxxxxxxxx>
Signed-off-by: Xiantao Zhang <xiantao.zhang@xxxxxxxxx>
---
 xen/drivers/passthrough/vtd/iommu.c |    4 ++++
 xen/include/asm-ia64/mach_apic.h    |    1 +
 2 files changed, 5 insertions(+)

diff -r b4fcb5f632dc -r a020d0cdf594 xen/drivers/passthrough/vtd/iommu.c
--- a/xen/drivers/passthrough/vtd/iommu.c       Mon Aug 31 18:17:26 2009 +0100
+++ b/xen/drivers/passthrough/vtd/iommu.c       Tue Sep 01 11:32:47 2009 +0100
@@ -892,7 +892,11 @@ static int iommu_set_interrupt(struct io
 
     irq_desc[irq].handler = &dma_msi_type;
     irq_to_iommu[irq] = iommu;
+#ifdef CONFIG_X86 
     ret = request_irq(irq, iommu_page_fault, 0, "dmar", iommu);
+#else
+    ret = request_irq_vector(irq, iommu_page_fault, 0, "dmar", iommu);
+#endif
     if ( ret )
     {
         irq_desc[irq].handler = &no_irq_type;
diff -r b4fcb5f632dc -r a020d0cdf594 xen/include/asm-ia64/mach_apic.h
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/xen/include/asm-ia64/mach_apic.h  Tue Sep 01 11:32:47 2009 +0100
@@ -0,0 +1,1 @@
+/* Leave it as blank for compilation. */

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.