summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>2005-06-06 14:25:21 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>2005-06-06 14:25:21 +0000
commit3f702847ce03de4633be9d3f30bd438a2f1b8e52 (patch)
tree7753bb17fb8fa282b782b775b0b203f8de29be3e /sys/arch
parent369e14e27c0e86fa3a42ba0ca3c6e8ad59117ef0 (diff)
oops. on 686 we count fpswtch in another function...
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/i386/isa/npx.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/arch/i386/isa/npx.c b/sys/arch/i386/isa/npx.c
index 0df6941f654..9b26e2ba4af 100644
--- a/sys/arch/i386/isa/npx.c
+++ b/sys/arch/i386/isa/npx.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: npx.c,v 1.36 2005/04/21 04:39:35 mickey Exp $ */
+/* $OpenBSD: npx.c,v 1.37 2005/06/06 14:25:20 mickey Exp $ */
/* $NetBSD: npx.c,v 1.57 1996/05/12 23:12:24 mycroft Exp $ */
#if 0
@@ -631,6 +631,7 @@ npxdna_xmm(struct cpu_info *ci)
ci->ci_fpcurproc = p;
p->p_addr->u_pcb.pcb_fpcpu = ci;
splx(s);
+ uvmexp.fpswtch++;
if ((p->p_md.md_flags & MDP_USEDFPU) == 0) {
fldcw(&p->p_addr->u_pcb.pcb_savefpu.sv_xmm.sv_env.en_cw);