aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sparc64/mm/init.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@sunset.davemloft.net>2006-02-17 12:54:42 -0500
committerDavid S. Miller <davem@sunset.davemloft.net>2006-03-20 04:13:25 -0500
commit3b3ab2eb9cf07ef1bc7a676c19aab994adb41a87 (patch)
tree174537e596cc7b20ecb2d75770476285af725051 /arch/sparc64/mm/init.c
parentebd8c56c5ae154e2c6cfb7453a76a4e7265b2377 (diff)
[SPARC64]: Use phys tsb address in tsb_insert() in SUN4V.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc64/mm/init.c')
-rw-r--r--arch/sparc64/mm/init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sparc64/mm/init.c b/arch/sparc64/mm/init.c
index 6f860c39db82..0137d3dc6aee 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
252{ 252{
253 unsigned long tsb_addr = (unsigned long) ent; 253 unsigned long tsb_addr = (unsigned long) ent;
254 254
255 if (tlb_type == cheetah_plus) 255 if (tlb_type == cheetah_plus || tlb_type == hypervisor)
256 tsb_addr = __pa(tsb_addr); 256 tsb_addr = __pa(tsb_addr);
257 257
258 __tsb_insert(tsb_addr, tag, pte); 258 __tsb_insert(tsb_addr, tag, pte);