mirror of
https://github.com/torvalds/linux.git
synced 2024-11-05 11:32:04 +00:00
[SPARC64]: Use phys tsb address in tsb_insert() in SUN4V.
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
ebd8c56c5a
commit
3b3ab2eb9c
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user