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]: Remove unused "cpu_set_initialized"

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] [PATCH]: Remove unused "cpu_set_initialized"
From: Chris Lalancette <clalance@xxxxxxxxxx>
Date: Mon, 06 Aug 2007 13:17:48 -0400
Delivery-date: Mon, 06 Aug 2007 10:21:30 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla Thunderbird 1.0.8-1.1.fc4 (X11/20060501)
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
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] [PATCH]: Remove unused "cpu_set_initialized", Chris Lalancette <=