Quellcode durchsuchen

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 vor 17 Jahren
Ursprung
Commit
e9a6cb96fa
1 geänderte Dateien mit 1 neuen und 2 gelöschten Zeilen
  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;
 }