Sfoglia il codice sorgente

x86: do not clear cpu_online_map

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>
Glauber Costa 17 anni fa
parent
commit
e9a6cb96fa
1 ha cambiato i file con 1 aggiunte e 2 eliminazioni
  1. 1 2
      arch/x86/kernel/smpboot_32.c

+ 1 - 2
arch/x86/kernel/smpboot_32.c

@@ -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;
 }