diff options
Diffstat (limited to 'arch/powerpc/platforms/powermac/pic.c')
-rw-r--r-- | arch/powerpc/platforms/powermac/pic.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/arch/powerpc/platforms/powermac/pic.c b/arch/powerpc/platforms/powermac/pic.c index 39f7ddb554ea..e93a115961aa 100644 --- a/arch/powerpc/platforms/powermac/pic.c +++ b/arch/powerpc/platforms/powermac/pic.c | |||
@@ -440,14 +440,13 @@ static void __init pmac_pic_probe_oldstyle(void) | |||
440 | } | 440 | } |
441 | #endif /* CONFIG_PPC32 */ | 441 | #endif /* CONFIG_PPC32 */ |
442 | 442 | ||
443 | static void pmac_u3_cascade(unsigned int irq, struct irq_desc *desc, | 443 | static void pmac_u3_cascade(unsigned int irq, struct irq_desc *desc) |
444 | struct pt_regs *regs) | ||
445 | { | 444 | { |
446 | struct mpic *mpic = desc->handler_data; | 445 | struct mpic *mpic = desc->handler_data; |
447 | 446 | ||
448 | unsigned int cascade_irq = mpic_get_one_irq(mpic, regs); | 447 | unsigned int cascade_irq = mpic_get_one_irq(mpic, get_irq_regs()); |
449 | if (cascade_irq != NO_IRQ) | 448 | if (cascade_irq != NO_IRQ) |
450 | generic_handle_irq(cascade_irq, regs); | 449 | generic_handle_irq(cascade_irq); |
451 | desc->chip->eoi(irq); | 450 | desc->chip->eoi(irq); |
452 | } | 451 | } |
453 | 452 | ||