diff options
-rw-r--r-- | arch/sparc64/kernel/rtrap.S | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/sparc64/kernel/rtrap.S b/arch/sparc64/kernel/rtrap.S index 1e724fe172ae..7130e866f935 100644 --- a/arch/sparc64/kernel/rtrap.S +++ b/arch/sparc64/kernel/rtrap.S | |||
@@ -333,7 +333,6 @@ user_rtt_fill_fixup: | |||
333 | 333 | ||
334 | mov %g6, %l1 | 334 | mov %g6, %l1 |
335 | wrpr %g0, 0x0, %tl | 335 | wrpr %g0, 0x0, %tl |
336 | wrpr %g0, RTRAP_PSTATE, %pstate | ||
337 | 336 | ||
338 | 661: nop | 337 | 661: nop |
339 | .section .sun4v_1insn_patch, "ax" | 338 | .section .sun4v_1insn_patch, "ax" |
@@ -341,6 +340,8 @@ user_rtt_fill_fixup: | |||
341 | SET_GL(0) | 340 | SET_GL(0) |
342 | .previous | 341 | .previous |
343 | 342 | ||
343 | wrpr %g0, RTRAP_PSTATE, %pstate | ||
344 | |||
344 | mov %l1, %g6 | 345 | mov %l1, %g6 |
345 | ldx [%g6 + TI_TASK], %g4 | 346 | ldx [%g6 + TI_TASK], %g4 |
346 | LOAD_PER_CPU_BASE(%g5, %g6, %g1, %g2, %g3) | 347 | LOAD_PER_CPU_BASE(%g5, %g6, %g1, %g2, %g3) |