diff options
Diffstat (limited to 'arch/sparc64/kernel/winfixup.S')
-rw-r--r-- | arch/sparc64/kernel/winfixup.S | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/arch/sparc64/kernel/winfixup.S b/arch/sparc64/kernel/winfixup.S index 161371370e9d..c4aa110a10e5 100644 --- a/arch/sparc64/kernel/winfixup.S +++ b/arch/sparc64/kernel/winfixup.S | |||
@@ -115,16 +115,17 @@ fill_fixup_mna: | |||
115 | ba,pt %xcc, etrap | 115 | ba,pt %xcc, etrap |
116 | rd %pc, %g7 | 116 | rd %pc, %g7 |
117 | sethi %hi(tlb_type), %g1 | 117 | sethi %hi(tlb_type), %g1 |
118 | mov %l4, %o1 | ||
119 | lduw [%g1 + %lo(tlb_type)], %g1 | 118 | lduw [%g1 + %lo(tlb_type)], %g1 |
120 | mov %l5, %o2 | ||
121 | cmp %g1, 3 | 119 | cmp %g1, 3 |
122 | bne,pt %icc, 1f | 120 | bne,pt %icc, 1f |
123 | add %sp, PTREGS_OFF, %o0 | 121 | add %sp, PTREGS_OFF, %o0 |
122 | mov %l4, %o2 | ||
124 | call sun4v_do_mna | 123 | call sun4v_do_mna |
125 | nop | 124 | mov %l5, %o1 |
126 | ba,a,pt %xcc, rtrap_clr_l6 | 125 | ba,a,pt %xcc, rtrap_clr_l6 |
127 | 1: call mem_address_unaligned | 126 | 1: mov %l4, %o1 |
127 | mov %l5, %o2 | ||
128 | call mem_address_unaligned | ||
128 | nop | 129 | nop |
129 | ba,a,pt %xcc, rtrap_clr_l6 | 130 | ba,a,pt %xcc, rtrap_clr_l6 |
130 | 131 | ||