diff options
author | David S. Miller <davem@sunset.davemloft.net> | 2006-02-15 21:01:31 -0800 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-03-20 01:13:07 -0800 |
commit | de635d833f61ce0f2ad0b3431e6a3323a1c4fed5 (patch) | |
tree | 76559bb18ca6fe6ac4704b394b67a0e0eed842d5 /arch/sparc64/mm/tsb.c | |
parent | 1daef08a12157923d90ec7a47ead8a97e0d243cc (diff) | |
download | blackbird-op-linux-de635d833f61ce0f2ad0b3431e6a3323a1c4fed5.tar.gz blackbird-op-linux-de635d833f61ce0f2ad0b3431e6a3323a1c4fed5.zip |
[SPARC64]: Fix flush_tsb_user() on SUN4V.
Needs to use physical addressing just like cheetah_plus.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc64/mm/tsb.c')
-rw-r--r-- | arch/sparc64/mm/tsb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sparc64/mm/tsb.c b/arch/sparc64/mm/tsb.c index 975242ab88ee..3c1ff05038b1 100644 --- a/arch/sparc64/mm/tsb.c +++ b/arch/sparc64/mm/tsb.c @@ -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; |