提交 02fead75 编写于 作者: D David S. Miller

[SPARC64]: Do not try to synchronize %stick registers on SUN4V.

Writes by privileged code are not allowed.
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 7aa62645
...@@ -1278,7 +1278,11 @@ int __devinit __cpu_up(unsigned int cpu) ...@@ -1278,7 +1278,11 @@ int __devinit __cpu_up(unsigned int cpu)
if (!cpu_isset(cpu, cpu_online_map)) { if (!cpu_isset(cpu, cpu_online_map)) {
ret = -ENODEV; ret = -ENODEV;
} else { } else {
smp_synchronize_one_tick(cpu); /* On SUN4V, writes to %tick and %stick are
* not allowed.
*/
if (tlb_type != hypervisor)
smp_synchronize_one_tick(cpu);
} }
} }
return ret; return ret;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册