[SPARC64]: Fix flush_tsb_user() on SUN4V.
authorDavid S. Miller <davem@sunset.davemloft.net>
Thu, 16 Feb 2006 05:01:31 +0000 (21:01 -0800)
committerDavid S. Miller <davem@sunset.davemloft.net>
Mon, 20 Mar 2006 09:13:07 +0000 (01:13 -0800)
Needs to use physical addressing just like cheetah_plus.

Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc64/mm/tsb.c

index 975242a..3c1ff05 100644 (file)
@@ -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;