Commit 3b3ab2eb9cf07ef1bc7a676c19aab994adb41a87

Authored by David S. Miller
1 parent ebd8c56c5a

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

Signed-off-by: David S. Miller <davem@davemloft.net>

Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff

arch/sparc64/mm/init.c
... ... @@ -252,7 +252,7 @@
252 252 {
253 253 unsigned long tsb_addr = (unsigned long) ent;
254 254  
255   - if (tlb_type == cheetah_plus)
  255 + if (tlb_type == cheetah_plus || tlb_type == hypervisor)
256 256 tsb_addr = __pa(tsb_addr);
257 257  
258 258 __tsb_insert(tsb_addr, tag, pte);