mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-17 01:04:19 +08:00
powerpc: platforms/8xx irq_data conversion.
Signed-off-by: Lennert Buytenhek <buytenh@secretlab.ca> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
This commit is contained in:
parent
5b250889b3
commit
cfe4a10994
@ -218,15 +218,20 @@ void mpc8xx_restart(char *cmd)
|
||||
|
||||
static void cpm_cascade(unsigned int irq, struct irq_desc *desc)
|
||||
{
|
||||
struct irq_chip *chip;
|
||||
int cascade_irq;
|
||||
|
||||
if ((cascade_irq = cpm_get_irq()) >= 0) {
|
||||
struct irq_desc *cdesc = irq_to_desc(cascade_irq);
|
||||
|
||||
generic_handle_irq(cascade_irq);
|
||||
cdesc->chip->eoi(cascade_irq);
|
||||
|
||||
chip = get_irq_desc_chip(cdesc);
|
||||
chip->irq_eoi(&cdesc->irq_data);
|
||||
}
|
||||
desc->chip->eoi(irq);
|
||||
|
||||
chip = get_irq_desc_chip(desc);
|
||||
chip->irq_eoi(&desc->irq_data);
|
||||
}
|
||||
|
||||
/* Initialize the internal interrupt controllers. The number of
|
||||
|
Loading…
Reference in New Issue
Block a user