From owner-cvs-all Fri Jun 1 6:23:37 2001 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 04F4F37B422; Fri, 1 Jun 2001 06:23:29 -0700 (PDT) (envelope-from tmm@FreeBSD.org) Received: (from tmm@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f51DNSR39866; Fri, 1 Jun 2001 06:23:28 -0700 (PDT) (envelope-from tmm) Message-Id: <200106011323.f51DNSR39866@freefall.freebsd.org> From: Thomas Moestl Date: Fri, 1 Jun 2001 06:23:28 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/alpha/include intrcnt.h src/sys/i386/i386 machdep.c src/sys/i386/isa icu.h intr_machdep.c vector.s src/sys/ia64/include intrcnt.h src/sys/kern kern_intr.c src/sys/sys interrupt.h src/sys/vm vm_meter.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG tmm 2001/06/01 06:23:28 PDT Modified files: sys/alpha/include intrcnt.h sys/i386/i386 machdep.c sys/i386/isa icu.h intr_machdep.c vector.s sys/ia64/include intrcnt.h sys/kern kern_intr.c sys/sys interrupt.h sys/vm vm_meter.c Log: 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) Revision Changes Path 1.5 +1 -9 src/sys/alpha/include/intrcnt.h 1.454 +1 -2 src/sys/i386/i386/machdep.c 1.23 +3 -1 src/sys/i386/isa/icu.h 1.56 +1 -2 src/sys/i386/isa/intr_machdep.c 1.36 +1 -3 src/sys/i386/isa/vector.s 1.3 +1 -9 src/sys/ia64/include/intrcnt.h 1.56 +31 -1 src/sys/kern/kern_intr.c 1.18 +7 -1 src/sys/sys/interrupt.h 1.55 +1 -31 src/sys/vm/vm_meter.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message