diff options
-rw-r--r-- | sys/arch/i386/i386/apicvec.s | 4 | ||||
-rw-r--r-- | sys/arch/i386/i386/vector.s | 6 |
2 files changed, 4 insertions, 6 deletions
diff --git a/sys/arch/i386/i386/apicvec.s b/sys/arch/i386/i386/apicvec.s index f968f1b649c..091aaa3a087 100644 --- a/sys/arch/i386/i386/apicvec.s +++ b/sys/arch/i386/i386/apicvec.s @@ -1,4 +1,4 @@ -/* $OpenBSD: apicvec.s,v 1.24 2011/07/05 17:11:07 oga Exp $ */ +/* $OpenBSD: apicvec.s,v 1.25 2011/09/22 12:17:04 deraadt Exp $ */ /* $NetBSD: apicvec.s,v 1.1.2.2 2000/02/21 21:54:01 sommerfeld Exp $ */ /*- @@ -273,7 +273,7 @@ _C_LABEL(Xintr_##name##num): \ movl %ebx,CPL ;\ mask(num) /* mask it in hardware */ ;\ early_ack(num) /* and allow other intrs */ ;\ - incl MY_COUNT+V_INTR /* statistical info */ ;\ + incl _C_LABEL(uvmexp)+V_INTR /* statistical info */ ;\ sti ;\ incl _C_LABEL(apic_intrcount)(,%eax,4) ;\ movl _C_LABEL(apic_intrhand)(,%eax,4),%ebx /* chain head */ ;\ diff --git a/sys/arch/i386/i386/vector.s b/sys/arch/i386/i386/vector.s index 5e043b06e12..f9c286fb634 100644 --- a/sys/arch/i386/i386/vector.s +++ b/sys/arch/i386/i386/vector.s @@ -1,4 +1,4 @@ -/* $OpenBSD: vector.s,v 1.15 2011/04/16 00:40:58 deraadt Exp $ */ +/* $OpenBSD: vector.s,v 1.16 2011/09/22 12:17:04 deraadt Exp $ */ /* $NetBSD: vector.s,v 1.32 1996/01/07 21:29:47 mycroft Exp $ */ /* @@ -33,8 +33,6 @@ #include <machine/i8259.h> #include <dev/isa/isareg.h> -#define MY_COUNT _C_LABEL(uvmexp) - /* * Macros for interrupt entry, call to handler, and exit. * @@ -109,7 +107,7 @@ _C_LABEL(Xintr_##name##num): ;\ MAKE_FRAME ;\ mask(num) /* mask it in hardware */ ;\ early_ack(num) /* and allow other intrs */ ;\ - incl MY_COUNT+V_INTR /* statistical info */ ;\ + incl _C_LABEL(uvmexp)+V_INTR /* statistical info */ ;\ movl _C_LABEL(iminlevel) + (num) * 4, %eax ;\ movl CPL,%ebx ;\ cmpl %eax,%ebx ;\ |