]> bbs.cooldavid.org Git - net-next-2.6.git/commitdiff
[SPARC64]: Use phys tsb address in tsb_insert() in SUN4V.
authorDavid S. Miller <davem@sunset.davemloft.net>
Fri, 17 Feb 2006 17:54:42 +0000 (09:54 -0800)
committerDavid S. Miller <davem@sunset.davemloft.net>
Mon, 20 Mar 2006 09:13:25 +0000 (01:13 -0800)
Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc64/mm/init.c

index 6f860c39db82fe6b6cbc4cb8701ae668281ea938..0137d3dc6aee1e25b793be3cc97ee7306e0bb54c 100644 (file)
@@ -252,7 +252,7 @@ static inline void tsb_insert(struct tsb *ent, unsigned long tag, unsigned long
 {
        unsigned long tsb_addr = (unsigned long) ent;
 
-       if (tlb_type == cheetah_plus)
+       if (tlb_type == cheetah_plus || tlb_type == hypervisor)
                tsb_addr = __pa(tsb_addr);
 
        __tsb_insert(tsb_addr, tag, pte);