[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 <olaf@aepfle.de> Signed-off-by: Paul Mackerras <paulus@samba.org>
This commit is contained in:
committed by
Paul Mackerras
parent
1224f373c9
commit
35a84c2f56
@@ -70,7 +70,7 @@ unsigned long event_scan_interval;
|
||||
* has to include <linux/interrupt.h> (to get irqreturn_t), which
|
||||
* causes all sorts of problems. -- paulus
|
||||
*/
|
||||
extern irqreturn_t xmon_irq(int, void *, struct pt_regs *);
|
||||
extern irqreturn_t xmon_irq(int, void *);
|
||||
|
||||
extern unsigned long loops_per_jiffy;
|
||||
|
||||
@@ -335,10 +335,9 @@ chrp_event_scan(unsigned long unused)
|
||||
jiffies + event_scan_interval);
|
||||
}
|
||||
|
||||
static void chrp_8259_cascade(unsigned int irq, struct irq_desc *desc,
|
||||
struct pt_regs *regs)
|
||||
static void chrp_8259_cascade(unsigned int irq, struct irq_desc *desc)
|
||||
{
|
||||
unsigned int cascade_irq = i8259_irq(regs);
|
||||
unsigned int cascade_irq = i8259_irq();
|
||||
if (cascade_irq != NO_IRQ)
|
||||
generic_handle_irq(cascade_irq);
|
||||
desc->chip->eoi(irq);
|
||||
|
Reference in New Issue
Block a user