summaryrefslogtreecommitdiff
path: root/drivers/pci
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2010-09-28 17:15:11 +0200
committerThomas Gleixner <tglx@linutronix.de>2010-10-12 16:53:37 +0200
commit5c2837fbaa609e615ef9a1c58a4cd26ce90be35b (patch)
tree0284a243fce7607a8f01ed0189e2164efdaa5bc8 /drivers/pci
parentd0fbca8f9304d1760fdc906b35b06e89fbdbb51f (diff)
downloadlinux-3.10-5c2837fbaa609e615ef9a1c58a4cd26ce90be35b.tar.gz
linux-3.10-5c2837fbaa609e615ef9a1c58a4cd26ce90be35b.tar.bz2
linux-3.10-5c2837fbaa609e615ef9a1c58a4cd26ce90be35b.zip
dmar: Convert to new irq chip functions
Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Reviewed-by: Ingo Molnar <mingo@elte.hu> Acked-by: David Woodhouse <dwmw2@infradead.org>
Diffstat (limited to 'drivers/pci')
-rw-r--r--drivers/pci/dmar.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/pci/dmar.c b/drivers/pci/dmar.c
index 0a19708074c..3de3a436a43 100644
--- a/drivers/pci/dmar.c
+++ b/drivers/pci/dmar.c
@@ -1221,9 +1221,9 @@ const char *dmar_get_fault_reason(u8 fault_reason, int *fault_type)
}
}
-void dmar_msi_unmask(unsigned int irq)
+void dmar_msi_unmask(struct irq_data *data)
{
- struct intel_iommu *iommu = get_irq_data(irq);
+ struct intel_iommu *iommu = irq_data_get_irq_data(data);
unsigned long flag;
/* unmask it */
@@ -1234,10 +1234,10 @@ void dmar_msi_unmask(unsigned int irq)
spin_unlock_irqrestore(&iommu->register_lock, flag);
}
-void dmar_msi_mask(unsigned int irq)
+void dmar_msi_mask(struct irq_data *data)
{
unsigned long flag;
- struct intel_iommu *iommu = get_irq_data(irq);
+ struct intel_iommu *iommu = irq_data_get_irq_data(data);
/* mask it */
spin_lock_irqsave(&iommu->register_lock, flag);