linux-mips
[Top] [All Lists]

Re: do_ri

To: Geert Uytterhoeven <geert@linux-m68k.org>
Subject: Re: do_ri
From: Ralf Baechle <ralf@linux-mips.org>
Date: Wed, 2 Jul 2003 17:57:07 +0200
Cc: "Sirotkin, Alexander" <demiurg@ti.com>, "Maciej W. Rozycki" <macro@ds2.pg.gda.pl>, Linux/MIPS Development <linux-mips@linux-mips.org>
In-reply-to: <Pine.GSO.4.21.0307021750091.15047-100000@vervain.sonytel.be>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <3F02FBE1.7070107@ti.com> <Pine.GSO.4.21.0307021750091.15047-100000@vervain.sonytel.be>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.4.1i
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? ;-)

<Prev in Thread] Current Thread [Next in Thread>