[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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



# 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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.