From: David S. Miller Date: Fri, 17 Feb 2006 17:54:42 +0000 (-0800) Subject: [SPARC64]: Use phys tsb address in tsb_insert() in SUN4V. X-Git-Tag: v2.6.17-rc1~1184^2~81 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3b3ab2eb9cf07ef1bc7a676c19aab994adb41a87;p=linux-2.6 [SPARC64]: Use phys tsb address in tsb_insert() in SUN4V. Signed-off-by: David S. Miller --- diff --git a/arch/sparc64/mm/init.c b/arch/sparc64/mm/init.c index 6f860c39db..0137d3dc6a 100644 --- a/arch/sparc64/mm/init.c +++ b/arch/sparc64/mm/init.c @@ -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);