This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


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

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] [patch] gcc4 fix for xen/include/asm-x86/processor.h
From: Tim Moreton <tim.moreton@xxxxxxxxxxxx>
Date: Thu, 14 Jul 2005 11:55:13 +0100
Delivery-date: Thu, 14 Jul 2005 17:31:34 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla Thunderbird 1.0.2-6 (X11/20050513)

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:


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


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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] [patch] gcc4 fix for xen/include/asm-x86/processor.h, Tim Moreton <=