lkml.org 
[lkml]   [1998]   [Jan]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: task_struct offsets broken in 2.1.77


On Mon, 5 Jan 1998, Steven N. Hirsch wrote:
>
> On Mon, 5 Jan 1998, Martin Mares wrote:
>
> > Hi,
> >
> > The changes in the task_struct introduced in 2.1.77 caused the offsets
> > to task_struct fields used in arch/i386/kernel/entry.S to be shifted one
> > longword, the whole thing worked only by some means of magic. The following
> > patch corrects these offsets, but wouldn't it be good to switch to
> > machine-generated offsets as Sparc people already do?
> >
> > Have a nice fortnight
>
> Perhaps this explains why 2.1.77 panics on my Alpha? 2.1.76 works fine.

Yes. I have this fixed in my tree, although not the same way as Martin (I
just moved the new "struct task_struct" entry down to where it belongs),
which automatically fixes all architectures.

Linus


\
 
 \ /
  Last update: 2005-03-22 13:41    [W:0.051 / U:0.552 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site