Re: thread_info implementation

From: David S. Miller (davem@redhat.com)
Date: Mon Feb 11 2002 - 19:57:30 EST


   From: Roman Zippel <zippel@linux-m68k.org>
   Date: Tue, 12 Feb 2002 01:57:03 +0100

   "David S. Miller" wrote:
   
> I was able to blow away all of the assembler offset stuff because now
> all the stuff assembly wants to get at is in one structure and it is
> trivial to compute the offsets by hand.
   
   Where's the problem to compute them automatically?

It requires ugly scripts that parse assembler files if you want it to
work in a cross compilation requirement. Check out
arch/sparc64/kernel/check_asm.sh and the "check_asm" rule in the
Makefile or the same directory in older trees to see what I mean.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Fri Feb 15 2002 - 21:00:45 EST