summaryrefslogtreecommitdiff
path: root/sys/vm/vm_meter.c
diff options
context:
space:
mode:
authorThomas Moestl <tmm@FreeBSD.org>2001-06-01 13:23:28 +0000
committerThomas Moestl <tmm@FreeBSD.org>2001-06-01 13:23:28 +0000
commitd279178df74576ab7d78b6d39c109a57e6b14596 (patch)
tree9195d3992cac62626ab1d518ecc5af211e265138 /sys/vm/vm_meter.c
parenta5c3951e7a043b86c143a2f9eaeb8dccc7415aeb (diff)
Notes
Diffstat (limited to 'sys/vm/vm_meter.c')
-rw-r--r--sys/vm/vm_meter.c30
1 files changed, 0 insertions, 30 deletions
diff --git a/sys/vm/vm_meter.c b/sys/vm/vm_meter.c
index 0f4e1072368f..24af2ec81952 100644
--- a/sys/vm/vm_meter.c
+++ b/sys/vm/vm_meter.c
@@ -363,33 +363,3 @@ SYSCTL_INT(_vm_stats_misc, OID_AUTO,
SYSCTL_INT(_vm_stats_misc, OID_AUTO,
vm_page_hash_mask, CTLFLAG_RD, &vm_page_hash_mask, 0, "");
#endif
-
-/*
- * Further sysctls used by systat: hw.nintr, hw.intrnames, hw.intrcnt.
- * This does probably not really fit in here, but it is somehow connected.
- * The definitions for this are machdep, but are currently defined for
- * any architecture.
- */
-
-/* include the machdep stuff */
-#include <machine/intrcnt.h>
-
-int nintr = INTRCNT_COUNT;
-SYSCTL_INT(_hw, OID_AUTO, nintr, CTLFLAG_RD, &nintr, 0, "Number of Interrupts");
-
-SYSCTL_OPAQUE(_hw, OID_AUTO, intrcnt, CTLFLAG_RD, &intrcnt,
- sizeof(long) * INTRCNT_COUNT, "", "Interrupt Counts");
-
-/*
- * We do not know the length in advance (in an MI fashion), so calculate things
- * at run-time.
- */
-static int
-sysctl_intrnames(SYSCTL_HANDLER_ARGS)
-{
- return sysctl_handle_opaque(oidp, intrnames, eintrnames - intrnames,
- req);
-}
-
-SYSCTL_PROC(_hw, OID_AUTO, intrnames, CTLTYPE_OPAQUE | CTLFLAG_RD, NULL, 0,
- sysctl_intrnames, "", "Interrupt Names");