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

[SPARC64]: Fix flush_tsb_user() on SUN4V.

Needs to use physical addressing just like cheetah_plus.
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 1daef08a
......@@ -58,7 +58,7 @@ void flush_tsb_user(struct mmu_gather *mp)
ctx = CTX_HWBITS(mm->context);
if (tlb_type == cheetah_plus)
if (tlb_type == cheetah_plus || tlb_type == hypervisor)
base = __pa(tsb);
else
base = (unsigned long) tsb;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册