diff options
author | Artur Grabowski <art@cvs.openbsd.org> | 1999-02-26 04:20:41 +0000 |
---|---|---|
committer | Artur Grabowski <art@cvs.openbsd.org> | 1999-02-26 04:20:41 +0000 |
commit | 03f677b3235e8f27d4d576836e7bd60c6b011b0c (patch) | |
tree | 89a6b78b591b8918235fe05898912016904875a8 | |
parent | 423bfda199f74480004e74e94ffc1f787422db84 (diff) |
cnt.foo -> uvmexp.bar in uvm
-rw-r--r-- | sys/arch/i386/isa/npx.c | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/sys/arch/i386/isa/npx.c b/sys/arch/i386/isa/npx.c index a3b1966553c..abde355e2a3 100644 --- a/sys/arch/i386/isa/npx.c +++ b/sys/arch/i386/isa/npx.c @@ -1,4 +1,4 @@ -/* $OpenBSD: npx.c,v 1.15 1998/02/22 22:06:11 niklas Exp $ */ +/* $OpenBSD: npx.c,v 1.16 1999/02/26 04:20:40 art Exp $ */ /* $NetBSD: npx.c,v 1.57 1996/05/12 23:12:24 mycroft Exp $ */ #if 0 @@ -53,6 +53,11 @@ #include <sys/ioctl.h> #include <sys/device.h> +#if defined(UVM) +#include <vm/vm.h> +#include <uvm/uvm_extern.h> +#endif + #include <machine/cpu.h> #include <machine/intr.h> #include <machine/pio.h> @@ -378,7 +383,11 @@ npxintr(arg) int code; union sigval sv; +#if defined(UVM) + uvmexp.traps++; +#else cnt.v_trap++; +#endif iprintf(("Intr")); if (p == 0 || npx_type == NPX_NONE) { |