All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH]: Remove unused "cpu_set_initialized"
@ 2007-08-06 17:17 Chris Lalancette
  0 siblings, 0 replies; only message in thread
From: Chris Lalancette @ 2007-08-06 17:17 UTC (permalink / raw)
  To: xen-devel

[-- Attachment #1: Type: text/plain, Size: 262 bytes --]

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@redhat.com>

[-- Attachment #2: xen-unstable-remove_cpu_set_init.patch --]
[-- Type: text/x-patch, Size: 440 bytes --]

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)

[-- Attachment #3: Type: text/plain, Size: 138 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-08-06 17:17 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-08-06 17:17 [PATCH]: Remove unused "cpu_set_initialized" Chris Lalancette

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.