Mailing List Archive

[xen-unstable] x86: Remove redundant clear for cpu_online_map.
# HG changeset patch
# User Keir Fraser <keir.fraser@citrix.com>
# 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@intel.com>
---
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@lists.xensource.com
http://lists.xensource.com/xen-changelog