Commit 8e42550c authored by David S. Miller's avatar David S. Miller

[SPARC64]: do_fptrap needs to load the thread reg into %g6.

Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 9b6b4647
...@@ -356,6 +356,7 @@ fitos_emul_fini: ...@@ -356,6 +356,7 @@ fitos_emul_fini:
.globl do_fptrap .globl do_fptrap
.align 32 .align 32
do_fptrap: do_fptrap:
TRAP_LOAD_THREAD_REG(%g6, %g1)
stx %fsr, [%g6 + TI_XFSR] stx %fsr, [%g6 + TI_XFSR]
do_fptrap_after_fsr: do_fptrap_after_fsr:
ldub [%g6 + TI_FPSAVED], %g3 ldub [%g6 + TI_FPSAVED], %g3
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment