diff options
author | Scott Wood <scottwood@freescale.com> | 2009-08-20 17:45:00 -0500 |
---|---|---|
committer | Kumar Gala <galak@kernel.crashing.org> | 2009-09-15 21:30:08 -0500 |
commit | 3e3c9c157b89eab2dc2f897899b1b95cd70c1a58 (patch) | |
tree | f1bc9559380f022528f8a3836fa8f1a2efd555a1 /cpu/mpc85xx | |
parent | dcc87dd58db466caa2d66755c5ec9455edf42fe8 (diff) | |
download | u-boot-imx-3e3c9c157b89eab2dc2f897899b1b95cd70c1a58.zip u-boot-imx-3e3c9c157b89eab2dc2f897899b1b95cd70c1a58.tar.gz u-boot-imx-3e3c9c157b89eab2dc2f897899b1b95cd70c1a58.tar.bz2 |
ppc/85xx: Remove some bogus code from external interrupt handler.
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>
Diffstat (limited to 'cpu/mpc85xx')
-rw-r--r-- | cpu/mpc85xx/traps.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/cpu/mpc85xx/traps.c b/cpu/mpc85xx/traps.c index 1045cc1..9d16b9b 100644 --- a/cpu/mpc85xx/traps.c +++ b/cpu/mpc85xx/traps.c @@ -287,6 +287,7 @@ UnknownException(struct pt_regs *regs) regs->nip, regs->msr, regs->trap); _exception(0, regs); } + void ExtIntException(struct pt_regs *regs) { @@ -305,14 +306,6 @@ 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 |