From: James S. <jsi...@us...> - 2001-11-20 17:35:50
|
Update of /cvsroot/linux-mips/linux/arch/mips/kernel In directory usw-pr-cvs1:/tmp/cvs-serv32753/mips/kernel Modified Files: traps.c Log Message: Setup machine check exception if available. Index: traps.c =================================================================== RCS file: /cvsroot/linux-mips/linux/arch/mips/kernel/traps.c,v retrieving revision 1.24 retrieving revision 1.25 diff -u -d -r1.24 -r1.25 --- traps.c 2001/11/13 23:34:59 1.24 +++ traps.c 2001/11/20 17:35:48 1.25 @@ -267,7 +267,7 @@ void show_trace_task(struct task_struct *tsk) { - show_trace(tsk->thread.reg29); + show_trace((unsigned int *)tsk->thread.reg29); } void show_code(unsigned int *pc) @@ -702,6 +702,7 @@ * We use the watch exception where available to detect stack * overflows. */ + dump_tlb(); show_regs(regs); panic("Caught WATCH exception - probably caused by stack overflow."); } @@ -890,6 +891,8 @@ if (mips_cpu.options & MIPS_CPU_FPU) set_except_vector(15, handle_fpe); + if (mips_cpu.options & MIPS_CPU_MCHECK) + set_except_vector(24, handle_mcheck); /* * Handling the following exceptions depends mostly of the cpu type |