WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] [PATCH] fix compilation error of iommu.c

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] [PATCH] fix compilation error of iommu.c
From: Isaku Yamahata <yamahata@xxxxxxxxxxxxx>
Date: Mon, 9 Feb 2009 18:05:16 +0900
Cc: espen.skoglund@xxxxxxxxxxxxx
Delivery-date: Mon, 09 Feb 2009 01:05:42 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.6i
[IA64] fix compilation error of iommu.c

This patch fixes the following compilation error on ia64
caused by 19178:4fcf4c9c9751.

> iommu.c: In function iommu_set_interrupt:
> iommu.c:889: warning: implicit declaration of function free_irq_vector
> iommu.c:895: error: NEVER_ASSIGN undeclared (first use in this function)
> iommu.c:895: error: (Each undeclared identifier is reported only once
> iommu.c:895: error: for each function it appears in.)

Signed-off-by: Isaku Yamahata <yamahata@xxxxxxxxxxxxx>

diff --git a/xen/include/asm-ia64/hvm/iommu.h b/xen/include/asm-ia64/hvm/iommu.h
--- a/xen/include/asm-ia64/hvm/iommu.h
+++ b/xen/include/asm-ia64/hvm/iommu.h
@@ -28,7 +28,10 @@ static inline void pci_cleanup_msi(struc
     /* TODO */
 }
 
-#define AUTO_ASSIGN         -1
+/* Special IRQ numbers */
+#define AUTO_ASSIGN     (-1)
+#define NEVER_ASSIGN    (-2)
+#define FREE_TO_ASSIGN  (-3)
 
 extern int assign_irq_vector (int irq);
 

-- 
yamahata

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] [PATCH] fix compilation error of iommu.c, Isaku Yamahata <=