提交 8f8771a0 编写于 作者: R Ralf Baechle

[MIPS] SMTC: Use current_cpu_data instead of cpu_data[smp_processor_id]

Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
上级 4ead1681
......@@ -1104,7 +1104,7 @@ void smtc_idle_loop_hook(void)
mtflags = dmt();
pdb_msg = &id_ho_db_msg[0];
im = read_c0_status();
vpe = cpu_data[smp_processor_id()].vpe_id;
vpe = current_cpu_data.vpe_id;
for (bit = 0; bit < 8; bit++) {
/*
* In current prototype, I/O interrupts
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册