Re: task_struct offsets broken in 2.1.77

David S. Miller (davem@dm.cobaltmicro.com)
Sat, 10 Jan 1998 17:06:08 -0800


From: smurf@work.smurf.noris.de (Matthias Urlichs)
Date: 6 Jan 1998 22:09:03 +0100

Probably not, but it's trivial to write a small C program that
translates the above to #define offsetfoobar 123 (just call
printf("#define offsetfoobar %d", offsetfoobar) for all the
offsetfoobars you need). Add a few Makefile rules, and you're done.

Take a look at arch/sparc64/kernel/check_asm.sh and the 'check_asm'
rule in the appropriate Makefiles... it's been done already and has
been working for a long time on the two sparc ports ;-)

Later,
David S. Miller
davem@dm.cobaltmicro.com