diff options
author | Mark Kettenis <kettenis@cvs.openbsd.org> | 2010-05-25 20:05:49 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@cvs.openbsd.org> | 2010-05-25 20:05:49 +0000 |
commit | 0f23950db36b51dc2607efd473c15e7cf3d3b735 (patch) | |
tree | 6e081626750cc6fac5c3c8febb3a6fa56ec79d2c | |
parent | d03d4b54a9b4096ec5f9b84e8af1c08314fdd75e (diff) |
Make sure that we really mark the FPU registers clean.
ok deraadt@
-rw-r--r-- | lib/libpthread/arch/sparc64/uthread_machdep_asm.S | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libpthread/arch/sparc64/uthread_machdep_asm.S b/lib/libpthread/arch/sparc64/uthread_machdep_asm.S index 55bfb6d555b..7b4ab4cea94 100644 --- a/lib/libpthread/arch/sparc64/uthread_machdep_asm.S +++ b/lib/libpthread/arch/sparc64/uthread_machdep_asm.S @@ -1,4 +1,4 @@ -/* $OpenBSD: uthread_machdep_asm.S,v 1.8 2004/02/02 10:05:55 brad Exp $ */ +/* $OpenBSD: uthread_machdep_asm.S,v 1.9 2010/05/25 20:05:48 kettenis Exp $ */ /* David Leonard <d@csee.uq.edu.au>. Public domain. */ #include <machine/asm.h> @@ -81,7 +81,7 @@ ENTRY(_thread_machdep_fpsave) std %f62, [%o0 + 31 * 8] /* disable fpu and mark both sides clean */ - wr %o1, FPRS_ENA|FPRS_DL|FPRS_DU, %fprs + wr %g0, 0, %fprs 1: retl |