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

[SPARC64]: Use phys tsb address in tsb_insert() in SUN4V.

Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 ebd8c56c
......@@ -252,7 +252,7 @@ static inline void tsb_insert(struct tsb *ent, unsigned long tag, unsigned long
{
unsigned long tsb_addr = (unsigned long) ent;
if (tlb_type == cheetah_plus)
if (tlb_type == cheetah_plus || tlb_type == hypervisor)
tsb_addr = __pa(tsb_addr);
__tsb_insert(tsb_addr, tag, pte);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册