Skip to content

Commit

Permalink
powerpc: platforms/chrp irq_data conversion.
Browse files Browse the repository at this point in the history
Signed-off-by: Lennert Buytenhek <buytenh@secretlab.ca>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
  • Loading branch information
Lennert Buytenhek authored and Benjamin Herrenschmidt committed Mar 10, 2011
1 parent d1ae63d commit 468eb1a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion arch/powerpc/platforms/chrp/setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -365,10 +365,13 @@ void __init chrp_setup_arch(void)

static void chrp_8259_cascade(unsigned int irq, struct irq_desc *desc)
{
struct irq_chip *chip = get_irq_desc_chip(desc);
unsigned int cascade_irq = i8259_irq();

if (cascade_irq != NO_IRQ)
generic_handle_irq(cascade_irq);
desc->chip->eoi(irq);

chip->irq_eoi(&desc->irq_data);
}

/*
Expand Down

0 comments on commit 468eb1a

Please sign in to comment.