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-changelog

[Xen-changelog] [xen-unstable] x86: Remove redundant clear for cpu_onlin

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] x86: Remove redundant clear for cpu_online_map.
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Tue, 30 Mar 2010 03:20:19 -0700
Delivery-date: Tue, 30 Mar 2010 03:20:22 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1269934312 -3600
# Node ID 4715e8e7eca6a741d171bf26d880d72c3a0878e8
# Parent  8ab60a883fd5ea6294227adbeddcc124dab67df6
x86: Remove redundant clear for cpu_online_map.

Remove it, maybe caused by accident diff operation.

Signed-off-by: Xiantao Zhang <xiantao.zhang@xxxxxxxxx>
---
 xen/arch/x86/smpboot.c |    3 +--
 1 files changed, 1 insertion(+), 2 deletions(-)

diff -r 8ab60a883fd5 -r 4715e8e7eca6 xen/arch/x86/smpboot.c
--- a/xen/arch/x86/smpboot.c    Tue Mar 30 08:31:16 2010 +0100
+++ b/xen/arch/x86/smpboot.c    Tue Mar 30 08:31:52 2010 +0100
@@ -1302,10 +1302,9 @@ int __cpu_disable(void)
 
        remove_siblinginfo(cpu);
 
+       /* It's now safe to remove this processor from the online map */
        cpu_clear(cpu, cpu_online_map);
        fixup_irqs();
-       /* It's now safe to remove this processor from the online map */
-       cpu_clear(cpu, cpu_online_map);
 
        cpu_disable_scheduler();
 

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] x86: Remove redundant clear for cpu_online_map., Xen patchbot-unstable <=