summaryrefslogtreecommitdiffstats
path: root/sys/i386/isa/apic_vector.s
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>2002-07-11 08:31:10 +0000
committerpeter <peter@FreeBSD.org>2002-07-11 08:31:10 +0000
commitcfe10c5fa08af21fd6663198e2a3ceed2ccc8b2e (patch)
treec8d0480b5ab8ca89c1dafc92e47e5ff8d92fd318 /sys/i386/isa/apic_vector.s
parent6fd5b8fb09bfaa9f1accb465623160ea8a31536d (diff)
downloadFreeBSD-src-cfe10c5fa08af21fd6663198e2a3ceed2ccc8b2e.zip
FreeBSD-src-cfe10c5fa08af21fd6663198e2a3ceed2ccc8b2e.tar.gz
Bah, move the invltlb counter to C code and hook a debug sysctl onto it.
Diffstat (limited to 'sys/i386/isa/apic_vector.s')
-rw-r--r--sys/i386/isa/apic_vector.s8
1 files changed, 1 insertions, 7 deletions
diff --git a/sys/i386/isa/apic_vector.s b/sys/i386/isa/apic_vector.s
index 1b9933b..8490b1b 100644
--- a/sys/i386/isa/apic_vector.s
+++ b/sys/i386/isa/apic_vector.s
@@ -275,7 +275,7 @@ Xinvltlb:
movl PCPU(CPUID), %eax
popl %fs
ss
- incl _xhits(,%eax,4)
+ incl xhits(,%eax,4)
#endif /* COUNT_XINVLTLB_HITS */
movl %cr3, %eax /* invalidate the TLB */
@@ -570,12 +570,6 @@ Xrendezvous:
.data
-#ifdef COUNT_XINVLTLB_HITS
- .globl _xhits
-_xhits:
- .space (MAXCPU * 4), 0
-#endif /* COUNT_XINVLTLB_HITS */
-
.globl apic_pin_trigger
apic_pin_trigger:
.long 0
OpenPOWER on IntegriCloud