diff options
author | Michael Shalayeff <mickey@cvs.openbsd.org> | 2002-11-08 22:30:49 +0000 |
---|---|---|
committer | Michael Shalayeff <mickey@cvs.openbsd.org> | 2002-11-08 22:30:49 +0000 |
commit | c8df46d073f7dcd49e1ef769672cf6842c657139 (patch) | |
tree | 1774684b64e2c83172d9039083f3dc68fa272d16 | |
parent | 87a8483c1e9fe1d01de80adb79855a0529e7501e (diff) |
absolutely no need to save the fpu state before rewriting the fpu regs, just reset the curpcb and force a reload
-rw-r--r-- | sys/arch/hppa/hppa/process_machdep.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/arch/hppa/hppa/process_machdep.c b/sys/arch/hppa/hppa/process_machdep.c index 94540d75eac..b18afa35759 100644 --- a/sys/arch/hppa/hppa/process_machdep.c +++ b/sys/arch/hppa/hppa/process_machdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: process_machdep.c,v 1.6 2002/09/20 19:06:26 mickey Exp $ */ +/* $OpenBSD: process_machdep.c,v 1.7 2002/11/08 22:30:48 mickey Exp $ */ /* * Copyright (c) 1999-2002 Michael Shalayeff @@ -148,8 +148,6 @@ process_write_fpregs(p, fpregs) { extern paddr_t fpu_curpcb; - if (p->p_md.md_regs->tf_cr30 == fpu_curpcb) - fpu_save((vaddr_t)p->p_addr->u_pcb.pcb_fpregs); bcopy(fpregs, p->p_addr->u_pcb.pcb_fpregs, 32 * 8); if (p->p_md.md_regs->tf_cr30 == fpu_curpcb) { |