[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [patch] gcc4 fix for xen/include/asm-x86/processor.h



Hi,

I haven't kept up to date with whether patches for gcc4 compliance are
applied to 2.0-testing, but when I was trying to compile it on FC4, one
that seems to have slipped the net was given by Rik van Riel back in March:

http://lists.xensource.com/archives/html/xen-devel/2005-03/msg00180.html

The patch no longer applies cleanly, but the one below does, if it helps.

Tim



Signed-off-by: Tim Moreton tim.moreton@xxxxxxxxxxxx

--- a/xen/include/asm-x86/processor.h   Fri Jul  8 16:36:26 2005
+++ b/xen/include/asm-x86/processor.h   Wed Jul 13 19:30:01 2005
@@ -172,7 +172,6 @@
  */

 extern struct cpuinfo_x86 boot_cpu_data;
-extern struct tss_struct init_tss[NR_CPUS];

 #ifdef CONFIG_SMP
 extern struct cpuinfo_x86 cpu_data[];
@@ -435,6 +434,8 @@
 extern struct desc_struct idt_table[];
 extern struct desc_struct *idt_tables[];

+extern struct tss_struct init_tss[NR_CPUS];
+
 #if defined(__i386__)

 #define SET_DEFAULT_FAST_TRAP(_p) \


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.