]> err.no Git - linux-2.6/commitdiff
x86: do not clear cpu_online_map
authorGlauber Costa <gcosta@redhat.com>
Mon, 3 Mar 2008 17:13:06 +0000 (14:13 -0300)
committerIngo Molnar <mingo@elte.hu>
Thu, 17 Apr 2008 15:40:56 +0000 (17:40 +0200)
it was already cleared two lines above, and so, this removal
is bogus

Signed-off-by: Glauber Costa <gcosta@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/smpboot_32.c

index 4939b3a01b245c7e37eeb111df04fd3d05f54686..3d21c663aa764c3b8622df8269f6e2a861118fda 100644 (file)
@@ -1073,8 +1073,7 @@ int __cpu_disable(void)
 
        remove_cpu_from_maps(cpu);
        fixup_irqs(map);
-       /* It's now safe to remove this processor from the online map */
-       cpu_clear(cpu, cpu_online_map);
+
        return 0;
 }