powerpc/8xx: Fix build breakage with sparse irq changes

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
This commit is contained in:
Benjamin Herrenschmidt 2009-10-30 16:59:44 +11:00
parent cc393317c4
commit 588e050887
1 changed files with 1 additions and 1 deletions

View File

@ -222,7 +222,7 @@ static void cpm_cascade(unsigned int irq, struct irq_desc *desc)
int cascade_irq; int cascade_irq;
if ((cascade_irq = cpm_get_irq()) >= 0) { if ((cascade_irq = cpm_get_irq()) >= 0) {
struct irq_desc *cdesc = irq_desc + cascade_irq; struct irq_desc *cdesc = irq_to_desc(cascade_irq);
generic_handle_irq(cascade_irq); generic_handle_irq(cascade_irq);
cdesc->chip->eoi(cascade_irq); cdesc->chip->eoi(cascade_irq);