]> git.hungrycats.org Git - linux/commit
[IA64] Don't hardcode offsets in thread_info
authorTony Luck <tony.luck@intel.com>
Wed, 6 Oct 2004 17:18:27 +0000 (17:18 +0000)
committerTony Luck <aegl@agluck-lia64.sc.intel.com>
Wed, 6 Oct 2004 17:18:27 +0000 (17:18 +0000)
commit280454752229d3a0d6837bd084840ad4dc9875ed
tree3c2b0790713e33f0464623b1ea996a2b8cdf128e
parentfc19fca542ba61d70cb20fe8b2806e7282cc0cb4
[IA64] Don't hardcode offsets in thread_info

We had hardcoded defines for TI_TASK TI_EXEC_DOMAIN, TI_FLAGS, TI_CPU,
TI_ADDR_LIMIT, TI_PRE_COUNT, TI_RESTART_BLOCK; but only two of these
were ever used.  Remove all from thread_info.h, and generate the two
that we do use (TI_FLAGS and TI_PRE_COUNT) in asm_offsets.c

Patch supplied by Zou Nan hai

Signed-off-by: Tony Luck <tony.luck@intel.com>
arch/ia64/kernel/asm-offsets.c
include/asm-ia64/thread_info.h