mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 18:51:56 -04:00
[POWERPC] Fix up after irq changes
Remove struct pt_regs * from all handlers. Also remove the regs argument from get_irq() functions. Compile tested with arch/powerpc/config/* and arch/ppc/configs/prep_defconfig Signed-off-by: Olaf Hering <[email protected]> Signed-off-by: Paul Mackerras <[email protected]>
This commit is contained in:
parent
1224f373c9
commit
35a84c2f56
40 changed files with 84 additions and 92 deletions
|
|
@ -211,10 +211,10 @@ mpc8560ads_setup_arch(void)
|
|||
#endif
|
||||
}
|
||||
|
||||
static irqreturn_t cpm2_cascade(int irq, void *dev_id, struct pt_regs *regs)
|
||||
static irqreturn_t cpm2_cascade(int irq, void *dev_id)
|
||||
{
|
||||
while ((irq = cpm2_get_irq(regs)) >= 0)
|
||||
__do_IRQ(irq, regs);
|
||||
while ((irq = cpm2_get_irq()) >= 0)
|
||||
__do_IRQ(irq);
|
||||
return IRQ_HANDLED;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -127,10 +127,10 @@ mpc85xx_cds_show_cpuinfo(struct seq_file *m)
|
|||
}
|
||||
|
||||
#ifdef CONFIG_CPM2
|
||||
static irqreturn_t cpm2_cascade(int irq, void *dev_id, struct pt_regs *regs)
|
||||
static irqreturn_t cpm2_cascade(int irq, void *dev_id)
|
||||
{
|
||||
while((irq = cpm2_get_irq(regs)) >= 0)
|
||||
__do_IRQ(irq, regs);
|
||||
while((irq = cpm2_get_irq()) >= 0)
|
||||
__do_IRQ(irq);
|
||||
return IRQ_HANDLED;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -156,10 +156,10 @@ gp3_setup_arch(void)
|
|||
printk ("bi_immr_base = %8.8lx\n", binfo->bi_immr_base);
|
||||
}
|
||||
|
||||
static irqreturn_t cpm2_cascade(int irq, void *dev_id, struct pt_regs *regs)
|
||||
static irqreturn_t cpm2_cascade(int irq, void *dev_id)
|
||||
{
|
||||
while ((irq = cpm2_get_irq(regs)) >= 0)
|
||||
__do_IRQ(irq, regs);
|
||||
while ((irq = cpm2_get_irq()) >= 0)
|
||||
__do_IRQ(irq);
|
||||
|
||||
return IRQ_HANDLED;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -181,10 +181,10 @@ tqm85xx_setup_arch(void)
|
|||
}
|
||||
|
||||
#ifdef CONFIG_MPC8560
|
||||
static irqreturn_t cpm2_cascade(int irq, void *dev_id, struct pt_regs *regs)
|
||||
static irqreturn_t cpm2_cascade(int irq, void *dev_id)
|
||||
{
|
||||
while ((irq = cpm2_get_irq(regs)) >= 0)
|
||||
__do_IRQ(irq, regs);
|
||||
while ((irq = cpm2_get_irq()) >= 0)
|
||||
__do_IRQ(irq);
|
||||
return IRQ_HANDLED;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -28,7 +28,7 @@ static int i8259_pic_irq_offset;
|
|||
* which is called. It should be noted that polling is broken on some
|
||||
* IBM and Motorola PReP boxes so we must use the int-ack feature on them.
|
||||
*/
|
||||
int i8259_irq(struct pt_regs *regs)
|
||||
int i8259_irq(void)
|
||||
{
|
||||
int irq;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue