WARNING - OLD ARCHIVES

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/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] [PATCH] fix gcc4 compile error

To: xen-devel@xxxxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] [PATCH] fix gcc4 compile error
From: Rik van Riel <riel@xxxxxxxxxx>
Date: Tue, 1 Mar 2005 10:21:24 -0500 (EST)
Cc: David Woodhouse <dwmw2@xxxxxxxxxx>
Delivery-date: Tue, 01 Mar 2005 20:47:48 +0000
Envelope-to: xen+James.Bulpin@xxxxxxxxxxxx
List-archive: <http://sourceforge.net/mailarchive/forum.php?forum=xen-devel>
List-help: <mailto:xen-devel-request@lists.sourceforge.net?subject=help>
List-id: List for Xen developers <xen-devel.lists.sourceforge.net>
List-post: <mailto:xen-devel@lists.sourceforge.net>
List-subscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=subscribe>
List-unsubscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=unsubscribe>
Resent-date: Tue, 1 Mar 2005 15:15:33 -0500 (EST)
Resent-from: Rik van Riel <riel@xxxxxxxxxx>
Resent-message-id: <Pine.LNX.4.61.0503011515330.14016@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
Resent-subject: [PATCH] fix gcc4 compile error
Resent-to: xen-devel@xxxxxxxxxxxxxxxxxxxxx
Sender: xen-devel-admin@xxxxxxxxxxxxxxxxxxxxx
Fix gcc4 compile error.

arch/xen/i386/kernel/smpboot.c:72: error: static declaration of 
'cpu_callin_map' follows non-static declaration
include/asm/smp.h:56: error: previous declaration of 'cpu_callin_map' was here

Signed-off-by: Rik van Riel <riel@xxxxxxxxxx>
Signed-off-by: David Woodhouse <dwmw2@xxxxxxxxxx>

--- linux-2.6.10/arch/xen/i386/kernel/smpboot.c~        2005-03-01 
11:36:31.000000000 +0000
+++ linux-2.6.10/arch/xen/i386/kernel/smpboot.c 2005-03-01 12:56:44.454092184 
+0000
@@ -69,7 +69,7 @@
 /* bitmap of online cpus */
 cpumask_t cpu_online_map;
 
-static cpumask_t cpu_callin_map;
+cpumask_t cpu_callin_map;
 cpumask_t cpu_callout_map;
 static cpumask_t smp_commenced_mask;
 


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xen-devel

<Prev in Thread] Current Thread [Next in Thread>