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

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



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


 


Rackspace

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