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/ia64/include/intrcnt.h | |
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/ia64/include/intrcnt.h')
-rw-r--r-- | sys/ia64/include/intrcnt.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/sys/ia64/include/intrcnt.h b/sys/ia64/include/intrcnt.h index 5d2ce0b..4f7dcf4 100644 --- a/sys/ia64/include/intrcnt.h +++ b/sys/ia64/include/intrcnt.h @@ -71,11 +71,3 @@ # define INTRCNT_KN300_NCR810 INTRCNT_KN300_IRQ + 16 # define INTRCNT_KN300_I2C_CTRL INTRCNT_KN300_IRQ + 17 # define INTRCNT_KN300_I2C_BUS INTRCNT_KN300_IRQ + 18 - -#ifdef _KERNEL -#ifndef _LOCORE -extern volatile long intrcnt[]; -extern char intrnames[]; -extern char eintrnames[]; -#endif -#endif |