summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: dcc87dd)
raw | patch | inline | side by side (parent: dcc87dd)
author | Scott Wood <scottwood@freescale.com> | |
Thu, 20 Aug 2009 22:45:00 +0000 (17:45 -0500) | ||
committer | Kumar Gala <galak@kernel.crashing.org> | |
Wed, 16 Sep 2009 02:30:08 +0000 (21:30 -0500) |
Skipping the interrupted instruction will accomplish nothing other
than turning a spurious interrupt into a crash.
External interrupts are not machine checks, so don't count them as such.
Signed-off-by: Scott Wood <scottwood@freescale.com>
than turning a spurious interrupt into a crash.
External interrupts are not machine checks, so don't count them as such.
Signed-off-by: Scott Wood <scottwood@freescale.com>
cpu/mpc85xx/traps.c | patch | blob | history |
diff --git a/cpu/mpc85xx/traps.c b/cpu/mpc85xx/traps.c
index 1045cc1e7d08f4aec72a9f2c9df026fb15318f57..9d16b9b55e7b058bd244791c06d1fc509da25a77 100644 (file)
--- a/cpu/mpc85xx/traps.c
+++ b/cpu/mpc85xx/traps.c
regs->nip, regs->msr, regs->trap);
_exception(0, regs);
}
+
void
ExtIntException(struct pt_regs *regs)
{
printf(" irq IACK0@%05x=%d\n",(int)&pic->iack0,vect);
show_regs(regs);
print_backtrace((unsigned long *)regs->gpr[1]);
- machinecheck_count++;
-#ifdef EXTINT_NOSKIP
- printf("Returning back to 0x%08x\n",regs->nip);
-#else
- regs->nip += 4; /* skip offending instruction */
- printf("Skipping current instr, Returning to 0x%08lx\n",regs->nip);
-#endif
-
}
void