aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sparc64/kernel/rtrap.S
diff options
context:
space:
mode:
Diffstat (limited to 'arch/sparc64/kernel/rtrap.S')
-rw-r--r--arch/sparc64/kernel/rtrap.S5
1 files changed, 4 insertions, 1 deletions
diff --git a/arch/sparc64/kernel/rtrap.S b/arch/sparc64/kernel/rtrap.S
index e6130956307f..a2fa277da62b 100644
--- a/arch/sparc64/kernel/rtrap.S
+++ b/arch/sparc64/kernel/rtrap.S
@@ -224,7 +224,8 @@ rt_continue: ldx [%sp + PTREGS_OFF + PT_V9_G1], %g1
224 ldx [%sp + PTREGS_OFF + PT_V9_G4], %g4 224 ldx [%sp + PTREGS_OFF + PT_V9_G4], %g4
225 ldx [%sp + PTREGS_OFF + PT_V9_G5], %g5 225 ldx [%sp + PTREGS_OFF + PT_V9_G5], %g5
226 brz,pt %l3, 1f 226 brz,pt %l3, 1f
227 nop 227 mov %g6, %l2
228
228 /* Must do this before thread reg is clobbered below. */ 229 /* Must do this before thread reg is clobbered below. */
229 LOAD_PER_CPU_BASE(%g5, %g6, %i0, %i1, %i2) 230 LOAD_PER_CPU_BASE(%g5, %g6, %i0, %i1, %i2)
2301: 2311:
@@ -238,6 +239,8 @@ rt_continue: ldx [%sp + PTREGS_OFF + PT_V9_G1], %g1
238 SET_GL(1) 239 SET_GL(1)
239 .previous 240 .previous
240 241
242 mov %l2, %g6
243
241 ldx [%sp + PTREGS_OFF + PT_V9_I0], %i0 244 ldx [%sp + PTREGS_OFF + PT_V9_I0], %i0
242 ldx [%sp + PTREGS_OFF + PT_V9_I1], %i1 245 ldx [%sp + PTREGS_OFF + PT_V9_I1], %i1
243 246