linux-mips
[Top] [All Lists]

Re: do_ri

To: "Sirotkin, Alexander" <demiurg@ti.com>
Subject: Re: do_ri
From: Geert Uytterhoeven <geert@linux-m68k.org>
Date: Wed, 2 Jul 2003 17:51:37 +0200 (MEST)
Cc: "Maciej W. Rozycki" <macro@ds2.pg.gda.pl>, Linux/MIPS Development <linux-mips@linux-mips.org>
In-reply-to: <3F02FBE1.7070107@ti.com>
Original-recipient: rfc822;linux-mips@linux-mips.org
Sender: linux-mips-bounce@linux-mips.org
On Wed, 2 Jul 2003, Sirotkin, Alexander wrote:
> 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.

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 :-)

Gr{oetje,eeting}s,

                                                Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                                            -- Linus Torvalds


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