Commit:     856a514b408fd1b147bf95916811980982fa40d0
Parent:     99af900aef048f4923e71bb72f88cc556241a0d4
Author:     Ralf Baechle <[EMAIL PROTECTED]>
AuthorDate: Sun May 6 17:51:59 2007 +0100
Committer:  Ralf Baechle <[EMAIL PROTECTED]>
CommitDate: Fri May 11 14:28:30 2007 +0100

    [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 <[EMAIL PROTECTED]>
 arch/mips/kernel/traps.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/mips/kernel/traps.c b/arch/mips/kernel/traps.c
index 6c41224..b511ed3 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.");
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at

Reply via email to