diff options
author | David S. Miller <davem@sunset.davemloft.net> | 2006-02-17 09:54:42 -0800 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-03-20 01:13:25 -0800 |
commit | 3b3ab2eb9cf07ef1bc7a676c19aab994adb41a87 (patch) | |
tree | 174537e596cc7b20ecb2d75770476285af725051 /arch/sparc64/mm | |
parent | ebd8c56c5ae154e2c6cfb7453a76a4e7265b2377 (diff) | |
download | kernel_samsung_smdk4412-3b3ab2eb9cf07ef1bc7a676c19aab994adb41a87.tar.gz kernel_samsung_smdk4412-3b3ab2eb9cf07ef1bc7a676c19aab994adb41a87.tar.bz2 kernel_samsung_smdk4412-3b3ab2eb9cf07ef1bc7a676c19aab994adb41a87.zip |
[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')
-rw-r--r-- | arch/sparc64/mm/init.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sparc64/mm/init.c b/arch/sparc64/mm/init.c index 6f860c39db8..0137d3dc6ae 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); |