projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
99af900
)
[MIPS] Fix do_default_vi to use get_irq_regs to get the irq register ptr.
author
Ralf Baechle
<ralf@linux-mips.org>
Sun, 6 May 2007 16:51:59 +0000
(17:51 +0100)
committer
Ralf Baechle
<ralf@linux-mips.org>
Fri, 11 May 2007 13:28:30 +0000
(14:28 +0100)
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 <ralf@linux-mips.org>
arch/mips/kernel/traps.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/mips/kernel/traps.c
b/arch/mips/kernel/traps.c
index 6c41224bae68402df430b4ab7d9437c6713e8a08..b511ed3091c5fd61a42d0791c480dd529977a7a0 100644
(file)
--- 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.");
}