From: Ralf Baechle Date: Sun, 6 May 2007 16:51:59 +0000 (+0100) Subject: [MIPS] Fix do_default_vi to use get_irq_regs to get the irq register ptr. X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=856a514b408fd1b147bf95916811980982fa40d0;p=linux-beck.git [MIPS] Fix do_default_vi to use get_irq_regs to get the irq register ptr. Harmless bug because this function is only called in case of another kernel bug anyway which is also why this was missed for so long. Signed-off-by: Ralf Baechle --- diff --git a/arch/mips/kernel/traps.c b/arch/mips/kernel/traps.c index 6c41224bae68..b511ed3091c5 100644 --- a/arch/mips/kernel/traps.c +++ b/arch/mips/kernel/traps.c @@ -927,9 +927,9 @@ asmlinkage void do_reserved(struct pt_regs *regs) (regs->cp0_cause & 0x7f) >> 2); } -static asmlinkage void do_default_vi(struct pt_regs *regs) +static asmlinkage void do_default_vi(void) { - show_regs(regs); + show_regs(get_irq_regs()); panic("Caught unexpected vectored interrupt."); }