|
|
|
|
|
|
|
|
|
|
xen-devel
[Xen-devel] [PATCH] fix compilation error of iommu.c
[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 <=
|
|
|
|
|