提交 e9a6cb96 编写于 作者: G Glauber Costa 提交者: 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: NGlauber Costa <gcosta@redhat.com>
Signed-off-by: NIngo Molnar <mingo@elte.hu>
上级 045f9d22
......@@ -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;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册