diff options
author | David S. Miller <davem@sunset.davemloft.net> | 2006-02-16 05:18:49 -0500 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-03-20 04:13:14 -0500 |
commit | 8e42550c683b2ad4869fc4fa438204841fd9b7cc (patch) | |
tree | f636a779506cee076b7434327184b4ef9914c1c1 /arch/sparc64/kernel | |
parent | 9b6b46470cc1c52f6917b0cd8b7cf4b5cbc5acf6 (diff) |
[SPARC64]: do_fptrap needs to load the thread reg into %g6.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc64/kernel')
-rw-r--r-- | arch/sparc64/kernel/entry.S | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/sparc64/kernel/entry.S b/arch/sparc64/kernel/entry.S index a2842a72f8e6..bf40b065bcc0 100644 --- a/arch/sparc64/kernel/entry.S +++ b/arch/sparc64/kernel/entry.S | |||
@@ -356,6 +356,7 @@ fitos_emul_fini: | |||
356 | .globl do_fptrap | 356 | .globl do_fptrap |
357 | .align 32 | 357 | .align 32 |
358 | do_fptrap: | 358 | do_fptrap: |
359 | TRAP_LOAD_THREAD_REG(%g6, %g1) | ||
359 | stx %fsr, [%g6 + TI_XFSR] | 360 | stx %fsr, [%g6 + TI_XFSR] |
360 | do_fptrap_after_fsr: | 361 | do_fptrap_after_fsr: |
361 | ldub [%g6 + TI_FPSAVED], %g3 | 362 | ldub [%g6 + TI_FPSAVED], %g3 |