[PATCH] irq: sparse irqs, fix

From: Ingo Molnar
Date: Thu Aug 14 2008 - 09:32:59 EST


fix:

drivers/pci/intel-iommu.c: In function âdmar_set_interrupt':
drivers/pci/intel-iommu.c:918: error: too few arguments to function âcreate_irq'

Signed-off-by: Ingo Molnar <mingo@xxxxxxx>
---
drivers/pci/intel-iommu.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/pci/intel-iommu.c b/drivers/pci/intel-iommu.c
index 389fdd6..be10d86 100644
--- a/drivers/pci/intel-iommu.c
+++ b/drivers/pci/intel-iommu.c
@@ -915,7 +915,7 @@ int dmar_set_interrupt(struct intel_iommu *iommu)
{
int irq, ret;

- irq = create_irq();
+ irq = create_irq(0);
if (!irq) {
printk(KERN_ERR "IOMMU: no free vectors\n");
return -EINVAL;
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/