On Wed, Jul 02, 2003 at 05:51:37PM +0200, Geert Uytterhoeven wrote: > > > > ./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. > > I remember getting bitten by that one, too... > > Check out BUILD_HANDLER(ri,ri,sti,silent) in arch/mips/kernel/entry.S. > > Grep isn't always your friend, `nm -g' is, in this case :-) I guess people not finding the callers of the do_* functions is one of the most common questions on this list :-) Ralf PS: Ever heared of Intercal? ;-)