Skip to contentSkip to conversation

: Remove unused "cpu_set_initialized"

PATCH New Chris Lalancette 1 participant 1 message Aug 6, 2007 Xen hypervisor interface

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 : 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.

include/xen/cpu_hotplug.h +0 -3
diff -r 8d5ae51a09a6 include/xen/cpu_hotplug.h
@@ -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
[email protected]
http://lists.xensource.com/xen-devel