diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2011-03-24 17:57:12 +0100 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2011-03-29 14:48:14 +0200 |
commit | 16741ea0411ff8adb9b84934433638fa432c5292 (patch) | |
tree | a137882dae34c2b2aea84088fec127ff1442ae6e /arch/sparc/kernel/pci_msi.c | |
parent | fcd8d4f498698265fc0fba1dd376303caea71de4 (diff) | |
download | op-kernel-dev-16741ea0411ff8adb9b84934433638fa432c5292.zip op-kernel-dev-16741ea0411ff8adb9b84934433638fa432c5292.tar.gz |
sparc: Cleanup direct irq_desc access
Use the proper wrapper functions.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: sparclinux@vger.kernel.org
Diffstat (limited to 'arch/sparc/kernel/pci_msi.c')
-rw-r--r-- | arch/sparc/kernel/pci_msi.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/arch/sparc/kernel/pci_msi.c b/arch/sparc/kernel/pci_msi.c index 550e937..da4f4f4 100644 --- a/arch/sparc/kernel/pci_msi.c +++ b/arch/sparc/kernel/pci_msi.c @@ -30,13 +30,10 @@ static irqreturn_t sparc64_msiq_interrupt(int irq, void *cookie) err = ops->dequeue_msi(pbm, msiqid, &head, &msi); if (likely(err > 0)) { - struct irq_desc *desc; unsigned int irq; irq = pbm->msi_irq_table[msi - pbm->msi_first]; - desc = irq_desc + irq; - - desc->handle_irq(irq, desc); + generic_handle_irq(irq); } if (unlikely(err < 0)) |