mirror of
https://github.com/torvalds/linux.git
synced 2024-11-08 13:11:45 +00:00
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>
This commit is contained in:
parent
045f9d2202
commit
e9a6cb96fa
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user