aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sparc64/kernel/itlb_miss.S
diff options
context:
space:
mode:
Diffstat (limited to 'arch/sparc64/kernel/itlb_miss.S')
-rw-r--r--arch/sparc64/kernel/itlb_miss.S10
1 files changed, 5 insertions, 5 deletions
diff --git a/arch/sparc64/kernel/itlb_miss.S b/arch/sparc64/kernel/itlb_miss.S
index 6dfe3968c37..ad46e2024f4 100644
--- a/arch/sparc64/kernel/itlb_miss.S
+++ b/arch/sparc64/kernel/itlb_miss.S
@@ -9,18 +9,18 @@
9 cmp %g4, %g6 ! Compare TAG 9 cmp %g4, %g6 ! Compare TAG
10 10
11/* ITLB ** ICACHE line 2: TSB compare and TLB load */ 11/* ITLB ** ICACHE line 2: TSB compare and TLB load */
12 sethi %hi(PAGE_EXEC), %g4 ! Setup exec check
13 ldx [%g4 + %lo(PAGE_EXEC)], %g4
14 bne,pn %xcc, tsb_miss_itlb ! Miss 12 bne,pn %xcc, tsb_miss_itlb ! Miss
15 mov FAULT_CODE_ITLB, %g3 13 mov FAULT_CODE_ITLB, %g3
16 andcc %g5, %g4, %g0 ! Executable? 14 andcc %g5, _PAGE_EXEC_4U, %g0 ! Executable?
17 be,pn %xcc, tsb_do_fault 15 be,pn %xcc, tsb_do_fault
18 nop ! Delay slot, fill me 16 nop ! Delay slot, fill me
17 stxa %g5, [%g0] ASI_ITLB_DATA_IN ! Load TLB
18 retry ! Trap done
19 nop 19 nop
20 20
21/* ITLB ** ICACHE line 3: */ 21/* ITLB ** ICACHE line 3: */
22 stxa %g5, [%g0] ASI_ITLB_DATA_IN ! Load TLB 22 nop
23 retry ! Trap done 23 nop
24 nop 24 nop
25 nop 25 nop
26 nop 26 nop