Are you sure ? Because "grep -r" shows only ./arch/mips/kernel/traps.c:asmlinkage void do_ri(struct pt_regs *regs) ./arch/mips/kernel/traps.c: do_ri(regs); ./arch/mips/lx/lxRi.c: do_ri(regp); On my linux-2.4.17_mvl21 kernel. And I'm quite sure that when my kernel crashes it's not being called from any of these places. But then again, may be in may case it's getting called only because some memory get overwritten. Maciej W. Rozycki wrote: On Wed, 2 Jul 2003, Sirotkin, Alexander wrote:Can anyone please enlighten me about the do_ri function ? I could not find any reference to what it does and when it's called anywhere.It's called from arch/mips/kernel/entry.S or arch/mips64/kernel/r4k_genex.S to handle the Reserved Instruction exception. -- Alexander Sirotkin SW Engineer Texas Instruments Broadband Communications Israel (BCIL) Tel: +972-9-9706587 ________________________________________________________________________ "Those who do not understand Unix are condemned to reinvent it, poorly." -- Henry Spencer |