public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 2.4.30-pre3] x86_64: move init_tss declaration after tss_struct definition
@ 2005-03-19  4:09 Matt Domsch
  0 siblings, 0 replies; only message in thread
From: Matt Domsch @ 2005-03-19  4:09 UTC (permalink / raw)
  To: ak, linux-kernel

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 <Matt_Domsch@dell.com>

-- 
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;

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-03-19  4:09 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-03-19  4:09 [PATCH 2.4.30-pre3] x86_64: move init_tss declaration after tss_struct definition Matt Domsch

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox