[PATCH] irq: sparse irqs, fix

Ingo Molnar
2008-08-14T13:32:18Z

>From 547c9dd238f4412622fb6a2622d81c35c0a9fb85 Mon Sep 17 00:00:00 2001
From: Ingo Molnar <mingo@elte.hu>
Date: Thu, 14 Aug 2008 15:32:59 +0200
Subject: [PATCH] irq: sparse irqs, fix
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit

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@elte.hu>
---
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;