[MIPS] Complete fixes after removal of pt_regs argument to int handlers.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
This commit is contained in:
@ -9,19 +9,19 @@
|
||||
|
||||
extern asmlinkage void qemu_handle_int(void);
|
||||
|
||||
asmlinkage void plat_irq_dispatch(struct pt_regs *regs)
|
||||
asmlinkage void plat_irq_dispatch(void)
|
||||
{
|
||||
unsigned int pending = read_c0_status() & read_c0_cause();
|
||||
|
||||
if (pending & 0x8000) {
|
||||
ll_timer_interrupt(Q_COUNT_COMPARE_IRQ, regs);
|
||||
ll_timer_interrupt(Q_COUNT_COMPARE_IRQ);
|
||||
return;
|
||||
}
|
||||
if (pending & 0x0400) {
|
||||
int irq = i8259_irq();
|
||||
|
||||
if (likely(irq >= 0))
|
||||
do_IRQ(irq, regs);
|
||||
do_IRQ(irq);
|
||||
|
||||
return;
|
||||
}
|
||||
|
Reference in New Issue
Block a user