commit | de635d833f61ce0f2ad0b3431e6a3323a1c4fed5 | [log] [tgz] |
---|---|---|
author | David S. Miller <davem@sunset.davemloft.net> | Wed Feb 15 21:01:31 2006 -0800 |
committer | David S. Miller <davem@sunset.davemloft.net> | Mon Mar 20 01:13:07 2006 -0800 |
tree | 76559bb18ca6fe6ac4704b394b67a0e0eed842d5 | |
parent | 1daef08a12157923d90ec7a47ead8a97e0d243cc [diff] |
[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>
diff --git a/arch/sparc64/mm/tsb.c b/arch/sparc64/mm/tsb.c index 975242a..3c1ff05 100644 --- a/arch/sparc64/mm/tsb.c +++ b/arch/sparc64/mm/tsb.c
@@ -58,7 +58,7 @@ 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;