Commit e9a6cb96 authored by Glauber Costa's avatar Glauber Costa Committed by Ingo Molnar

x86: do not clear cpu_online_map

it was already cleared two lines above, and so, this removal
is bogus
Signed-off-by: default avatarGlauber Costa <gcosta@redhat.com>
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent 045f9d22
...@@ -1073,8 +1073,7 @@ int __cpu_disable(void) ...@@ -1073,8 +1073,7 @@ int __cpu_disable(void)
remove_cpu_from_maps(cpu); remove_cpu_from_maps(cpu);
fixup_irqs(map); fixup_irqs(map);
/* It's now safe to remove this processor from the online map */
cpu_clear(cpu, cpu_online_map);
return 0; return 0;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment