From 3f702847ce03de4633be9d3f30bd438a2f1b8e52 Mon Sep 17 00:00:00 2001 From: Michael Shalayeff Date: Mon, 6 Jun 2005 14:25:21 +0000 Subject: oops. on 686 we count fpswtch in another function... --- sys/arch/i386/isa/npx.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sys') 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); -- cgit v1.2.3