提交 e54afe38 编写于 作者: G Glauber Costa 提交者: Ingo Molnar

x86: remove duplicate call to use_tsc_delay

Integration generated a duplicate call to use_tsc_delay.
Particularly, the one that is done before we check for general
tsc usability seems wrong.
Signed-off-by: NGlauber Costa <gcosta@redhat.com>
Signed-off-by: NIngo Molnar <mingo@elte.hu>
上级 f87f38ec
...@@ -513,7 +513,6 @@ void __init tsc_init(void) ...@@ -513,7 +513,6 @@ void __init tsc_init(void)
*/ */
for_each_possible_cpu(cpu) for_each_possible_cpu(cpu)
set_cyc2ns_scale(cpu_khz, cpu); set_cyc2ns_scale(cpu_khz, cpu);
use_tsc_delay();
if (tsc_disabled > 0) if (tsc_disabled > 0)
return; return;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册