OSDN Git Service
(root)
/
sagit-ice-cold
/
kernel_xiaomi_msm8998.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ebd8c56
)
[SPARC64]: Use phys tsb address in tsb_insert() in SUN4V.
author
David S. Miller
<davem@sunset.davemloft.net>
Fri, 17 Feb 2006 17:54:42 +0000
(09:54 -0800)
committer
David 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
patch
|
blob
|
history
diff --git
a/arch/sparc64/mm/init.c
b/arch/sparc64/mm/init.c
index
6f860c3
..
0137d3d
100644
(file)
--- 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);