From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chris Lalancette Subject: [PATCH]: Remove unused "cpu_set_initialized" Date: Mon, 06 Aug 2007 13:17:48 -0400 Message-ID: <46B757BC.1010305@redhat.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------090205000901090600080305" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org This is a multi-part message in MIME format. --------------090205000901090600080305 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit 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 --------------090205000901090600080305 Content-Type: text/x-patch; name="xen-unstable-remove_cpu_set_init.patch" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="xen-unstable-remove_cpu_set_init.patch" 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) --------------090205000901090600080305 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --------------090205000901090600080305--