powerpc/8xx: fix cpm_cascade() dual end of interrupt
cpm_cascade() doesn't have to call eoi() as it is already called by handle_fasteoi_irq() And cpm_get_irq() will always return an unsigned int so the test is useless Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
This commit is contained in:
parent
3d4f5f5848
commit
c554ac91ce
1 changed files with 1 additions and 7 deletions
|
@ -217,13 +217,7 @@ void __noreturn mpc8xx_restart(char *cmd)
|
||||||
|
|
||||||
static void cpm_cascade(struct irq_desc *desc)
|
static void cpm_cascade(struct irq_desc *desc)
|
||||||
{
|
{
|
||||||
struct irq_chip *chip = irq_desc_get_chip(desc);
|
generic_handle_irq(cpm_get_irq());
|
||||||
int cascade_irq = cpm_get_irq();
|
|
||||||
|
|
||||||
if (cascade_irq >= 0)
|
|
||||||
generic_handle_irq(cascade_irq);
|
|
||||||
|
|
||||||
chip->irq_eoi(&desc->irq_data);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Initialize the internal interrupt controllers. The number of
|
/* Initialize the internal interrupt controllers. The number of
|
||||||
|
|
Loading…
Add table
Reference in a new issue