Date: Mon, 17 Mar 2008 22:42:01 +0000 (UTC) From: John Baldwin <jhb@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/amd64/amd64 intr_machdep.c src/sys/arm/arm intr.c src/sys/i386/i386 intr_machdep.c src/sys/ia64/ia64 interrupt.c src/sys/kern kern_intr.c src/sys/powerpc/powerpc intr_machdep.c src/sys/sparc64/sparc64 intr_machdep.c src/sys/sys ... Message-ID: <200803172242.m2HMg1Cd015714@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
jhb 2008-03-17 22:42:01 UTC FreeBSD src repository Modified files: sys/amd64/amd64 intr_machdep.c sys/arm/arm intr.c sys/i386/i386 intr_machdep.c sys/ia64/ia64 interrupt.c sys/kern kern_intr.c sys/powerpc/powerpc intr_machdep.c sys/sparc64/sparc64 intr_machdep.c sys/sys interrupt.h Log: Simplify the interrupt code a bit: - Always include the ie_disable and ie_eoi methods in 'struct intr_event' and collapse down to one intr_event_create() routine. The disable and eoi hooks simply aren't used currently in the !INTR_FILTER case. - Expand 'disab' to 'disable' in a few places. - Use function casts for arm and i386:intr_eoi_src() instead of wrapper routines since to trim one extra indirection. Compiled on: {arm,amd64,i386,ia64,ppc,sparc64} x {FILTER, !FILTER} Tested on: {amd64,i386} x {FILTER, !FILTER} Revision Changes Path 1.39 +15 -32 src/sys/amd64/amd64/intr_machdep.c 1.19 +4 -28 src/sys/arm/arm/intr.c 1.34 +15 -32 src/sys/i386/i386/intr_machdep.c 1.64 +1 -4 src/sys/ia64/ia64/interrupt.c 1.157 +6 -46 src/sys/kern/kern_intr.c 1.19 +1 -6 src/sys/powerpc/powerpc/intr_machdep.c 1.30 +2 -6 src/sys/sparc64/sparc64/intr_machdep.c 1.39 +4 -13 src/sys/sys/interrupt.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200803172242.m2HMg1Cd015714>