diff options
author | tmm <tmm@FreeBSD.org> | 2001-06-01 13:23:28 +0000 |
---|---|---|
committer | tmm <tmm@FreeBSD.org> | 2001-06-01 13:23:28 +0000 |
commit | 9ce8a6234736b0446ecc22b1092f693c658a25be (patch) | |
tree | dfa10a376890935609a85e9cf3ff54855c2ff66c /sys/amd64/isa/nmi.c | |
parent | 831472121170bbeebce019cd7be85fb15d34bd31 (diff) | |
download | FreeBSD-src-9ce8a6234736b0446ecc22b1092f693c658a25be.zip FreeBSD-src-9ce8a6234736b0446ecc22b1092f693c658a25be.tar.gz |
Clean up the code exporting interrupt statistics via sysctl a bit:
- move the sysctl code to kern_intr.c
- do not use INTRCNT_COUNT, but rather eintrcnt - intrcnt to determine
the length of the intrcnt array
- move the declarations of intrnames, eintrnames, intrcnt and eintrcnt
from machine-dependent include files to sys/interrupt.h
- remove the hw.nintr sysctl, it is not needed.
- fix various style bugs
Requested by: bde
Reviewed by: bde (some time ago)
Diffstat (limited to 'sys/amd64/isa/nmi.c')
-rw-r--r-- | sys/amd64/isa/nmi.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/amd64/isa/nmi.c b/sys/amd64/isa/nmi.c index 7eb99a6..503163f 100644 --- a/sys/amd64/isa/nmi.c +++ b/sys/amd64/isa/nmi.c @@ -58,7 +58,6 @@ #include <machine/md_var.h> #include <machine/segments.h> -#include <machine/intrcnt.h> #if defined(APIC_IO) #include <machine/smptests.h> /** FAST_HI */ |