summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorDavid S. Miller <davem@sunset.davemloft.net>2006-02-15 21:01:31 -0800
committerDavid S. Miller <davem@sunset.davemloft.net>2006-03-20 01:13:07 -0800
commitde635d833f61ce0f2ad0b3431e6a3323a1c4fed5 (patch)
tree76559bb18ca6fe6ac4704b394b67a0e0eed842d5 /arch
parent1daef08a12157923d90ec7a47ead8a97e0d243cc (diff)
downloadop-kernel-dev-de635d833f61ce0f2ad0b3431e6a3323a1c4fed5.zip
op-kernel-dev-de635d833f61ce0f2ad0b3431e6a3323a1c4fed5.tar.gz
[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')
-rw-r--r--arch/sparc64/mm/tsb.c2
1 files changed, 1 insertions, 1 deletions
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 @@ 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;
OpenPOWER on IntegriCloud