Luck, Tony wrote:
The existing ia64 specific rule to generate offsets.h has to "echo #define IA64_TASK_SIZE 0 > include/asm-ia64/offsets.h" before building asm-offsets.s to avoid compilation errors.So long as you take care of this somehow in the generic version, go wild.
The right fix is to get rid of that god-awful circular dependency on offset.h
-- Brian Gerst