On Thursday 11 December 2008, Kyle McMartin wrote: > Create a common kernel/init_task.c, and convert low hanging fruit to > use it. Architecture maintainers will need to ensure that I didn't > break anything before applying the init_task removal patch to their > arch. > > A few architectures appear to possibly rely on link-ordering (with > an extra-y makefile rule) and may need additional linker script rules. FWIW, here is the alignment of init_thread_info on all architectures: alpha: 2 * PAGE_SIZE arm, avr32, frv, mn10300, s390, sh, x86: THREAD_SIZE blackfin: THREAD_SIZE, but uses a different section cris, m68k-sun3: PAGE_SIZE h8300, m32r, m68knommu, ppc32, xtensa, m68k-std: 0x2000/8192 ia64: PAGE_SIZE (but ia64 is different) mips: _PAGE_SIZE parisc, ppc64: 16384 ppc32: 8192 um: KERNEL_STACK_SIZE sparc: PAGE_SIZE with .text section sparc64: 16384 (implicit) This is the same as THREAD_SIZE on all architectures, except for mips in certain configurations, which should be fixed. Maybe we can get all of them to just use THREAD_SIZE in there? Arnd <>< -- To unsubscribe from this list: send the line "unsubscribe linux-arch" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html