aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/sparc/kernel/rtrap_64.S6
1 files changed, 2 insertions, 4 deletions
diff --git a/arch/sparc/kernel/rtrap_64.S b/arch/sparc/kernel/rtrap_64.S
index afa2a9e3d0a0..76213db97a4a 100644
--- a/arch/sparc/kernel/rtrap_64.S
+++ b/arch/sparc/kernel/rtrap_64.S
@@ -306,12 +306,10 @@ to_kernel:
306 nop 306 nop
307 cmp %l4, 0 307 cmp %l4, 0
308 bne,pn %xcc, kern_fpucheck 308 bne,pn %xcc, kern_fpucheck
309 sethi %hi(PREEMPT_ACTIVE), %l6 309 nop
310 stw %l6, [%g6 + TI_PRE_COUNT] 310 call preempt_schedule_irq
311 call schedule
312 nop 311 nop
313 ba,pt %xcc, rtrap 312 ba,pt %xcc, rtrap
314 stw %g0, [%g6 + TI_PRE_COUNT]
315#endif 313#endif
316kern_fpucheck: ldub [%g6 + TI_FPDEPTH], %l5 314kern_fpucheck: ldub [%g6 + TI_FPDEPTH], %l5
317 brz,pt %l5, rt_continue 315 brz,pt %l5, rt_continue