[SPARC64]: Fix flush_tsb_user() on SUN4V.
[linux-2.6.git] / 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;