aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sparc64/kernel/tsb.S
diff options
context:
space:
mode:
Diffstat (limited to 'arch/sparc64/kernel/tsb.S')
-rw-r--r--arch/sparc64/kernel/tsb.S9
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/sparc64/kernel/tsb.S b/arch/sparc64/kernel/tsb.S
index cc225c0563c3..563852bf3594 100644
--- a/arch/sparc64/kernel/tsb.S
+++ b/arch/sparc64/kernel/tsb.S
@@ -103,6 +103,15 @@ tsb_dtlb_load:
103 mov %g5, %g3 103 mov %g5, %g3
104 104
105tsb_itlb_load: 105tsb_itlb_load:
106 /* Executable bit must be set. */
107661: andcc %g5, _PAGE_EXEC_4U, %g0
108 .section .sun4v_1insn_patch, "ax"
109 .word 661b
110 andcc %g5, _PAGE_EXEC_4V, %g0
111 .previous
112
113 be,pn %xcc, tsb_do_fault
114 nop
106 115
107661: stxa %g5, [%g0] ASI_ITLB_DATA_IN 116661: stxa %g5, [%g0] ASI_ITLB_DATA_IN
108 retry 117 retry