diff options
author | David S. Miller <davem@sunset.davemloft.net> | 2006-02-16 00:01:31 -0500 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-03-20 04:13:07 -0500 |
commit | de635d833f61ce0f2ad0b3431e6a3323a1c4fed5 (patch) | |
tree | 76559bb18ca6fe6ac4704b394b67a0e0eed842d5 /arch | |
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>
Diffstat (limited to 'arch')
-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) | |||
58 | 58 | ||
59 | ctx = CTX_HWBITS(mm->context); | 59 | ctx = CTX_HWBITS(mm->context); |
60 | 60 | ||
61 | if (tlb_type == cheetah_plus) | 61 | if (tlb_type == cheetah_plus || tlb_type == hypervisor) |
62 | base = __pa(tsb); | 62 | base = __pa(tsb); |
63 | else | 63 | else |
64 | base = (unsigned long) tsb; | 64 | base = (unsigned long) tsb; |