Patchwork [5/6] powerpc/powermac: Use generic_handle_irq() in gatwick_action()

login
register
mail settings
Submitter Michael Ellerman
Date April 23, 2009, 1:31 a.m.
Message ID <13ad89a6b3d95020367cbadb2b0e7b0e72457009.1240450296.git.michael@ellerman.id.au>
Download mbox | patch
Permalink /patch/26346/
State Accepted
Commit f11f76d4b8ebe74100712a0f42f8c5a969aa149b
Delegated to: Benjamin Herrenschmidt
Headers show

Comments

Michael Ellerman - April 23, 2009, 1:31 a.m.
Don't call __do_IRQ() directly in gatwick_action(), use
generic_handle_irq().

Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
---
 arch/powerpc/platforms/powermac/pic.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Patch

diff --git a/arch/powerpc/platforms/powermac/pic.c b/arch/powerpc/platforms/powermac/pic.c
index 7039d8f..dce7363 100644
--- a/arch/powerpc/platforms/powermac/pic.c
+++ b/arch/powerpc/platforms/powermac/pic.c
@@ -221,7 +221,7 @@  static irqreturn_t gatwick_action(int cpl, void *dev_id)
 			continue;
 		irq += __ilog2(bits);
 		spin_unlock_irqrestore(&pmac_pic_lock, flags);
-		__do_IRQ(irq);
+		generic_handle_irq(irq);
 		spin_lock_irqsave(&pmac_pic_lock, flags);
 		rc = IRQ_HANDLED;
 	}