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

[Xen-devel] [PATCH]: Remove unused "cpu_set_initialized"



All,
     Attached is a simple patch to remove a "cpu_set_initialized" macro that
does not seem to be used anywhere in the linux-2.6.18.hg source tree.  Compile
tested by me on i686 against the latest tree.

Signed-off-by: Chris Lalancette <clalance@xxxxxxxxxx>
diff -r 8d5ae51a09a6 include/xen/cpu_hotplug.h
--- a/include/xen/cpu_hotplug.h Wed Aug 01 15:16:46 2007 +0100
+++ b/include/xen/cpu_hotplug.h Mon Aug 06 11:35:59 2007 -0400
@@ -6,9 +6,6 @@
 
 #if defined(CONFIG_X86) && defined(CONFIG_SMP)
 extern cpumask_t cpu_initialized_map;
-#define cpu_set_initialized(cpu) cpu_set(cpu, cpu_initialized_map)
-#else
-#define cpu_set_initialized(cpu) ((void)0)
 #endif
 
 #if defined(CONFIG_HOTPLUG_CPU)
_______________________________________________
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®.