Compiling 2.4.30-pre3 for x86_64 with FC4-test1 gcc-4.0.0-0.32 fails because include/asm-x86_64/processor.h declares init_tss[NR_CPUS] as a sized array before struct tss_struct has been defined. Simple fix moves this declaration to after the definition of tss_struct.
Signed-off-by: Matt Domsch <[EMAIL PROTECTED]> -- Matt Domsch Software Architect Dell Linux Solutions linux.dell.com & www.dell.com/linux Linux on Dell mailing lists @ http://lists.us.dell.com ===== include/asm-x86_64/processor.h 1.9 vs edited ===== --- 1.9/include/asm-x86_64/processor.h 2004-03-21 18:35:56 -06:00 +++ edited/include/asm-x86_64/processor.h 2005-03-18 14:56:30 -06:00 @@ -68,7 +68,6 @@ #define X86_VENDOR_UNKNOWN 0xff extern struct cpuinfo_x86 boot_cpu_data; -extern struct tss_struct init_tss[NR_CPUS]; #ifdef CONFIG_SMP extern struct cpuinfo_x86 cpu_data[]; @@ -298,6 +297,8 @@ u16 io_map_base; u32 io_bitmap[IO_BITMAP_SIZE]; } __attribute__((packed)) ____cacheline_aligned; + +extern struct tss_struct init_tss[NR_CPUS]; struct thread_struct { unsigned long rsp0; - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/