linux-mips
[Top] [All Lists]

Re: Problem with gp

To: Ryan Martindale <ryan@qsicorp.com>
Subject: Re: Problem with gp
From: Ralf Baechle <ralf@oss.sgi.com>
Date: Wed, 31 Jul 2002 21:04:23 +0200
Cc: linux-mips@oss.sgi.com
In-reply-to: <3D482FF3.11F8CA0B@qsicorp.com>; from ryan@qsicorp.com on Wed, Jul 31, 2002 at 11:44:03AM -0700
References: <3D482FF3.11F8CA0B@qsicorp.com>
Sender: owner-linux-mips@oss.sgi.com
User-agent: Mutt/1.2.5.1i
On Wed, Jul 31, 2002 at 11:44:03AM -0700, Ryan Martindale wrote:

> I seem to be having troubles getting the CVS snapshot up and running.
> I've debugged it, and it seems that the problem stems from the fact that
> $28 (gp) is modified in the SAVE_SOME macro to point to somewhere on the
> stack (not sure why this occurs). Anyways, when I get my first system
> timetick interrupt, the update_process_times function fails to get the a
> valid task structure pointer and wipes out. Why are we adjusting gp
> here, since it is explicitly expected to hold only current_thread_info?

Are you using 2.5 by chance?  2.5.x is currently pretty unstable as I'm
porting all the major changes in the upstream sources to MIPS.  I recommend
to stick with 2.4 for now.

  Ralf


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