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

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

parent 9b6b4647
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -356,6 +356,7 @@ fitos_emul_fini:
	.globl		do_fptrap
	.align		32
do_fptrap:
	TRAP_LOAD_THREAD_REG(%g6, %g1)
	stx		%fsr, [%g6 + TI_XFSR]
do_fptrap_after_fsr:
	ldub		[%g6 + TI_FPSAVED], %g3