powerpc/8xx: Fix build breakage with sparse irq changes
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
This commit is contained in:
parent
cc393317c4
commit
588e050887
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue