summaryrefslogtreecommitdiff
path: root/sys/arch/i386/isa
diff options
context:
space:
mode:
authorMatthew Dempsky <matthew@cvs.openbsd.org>2010-09-20 06:33:49 +0000
committerMatthew Dempsky <matthew@cvs.openbsd.org>2010-09-20 06:33:49 +0000
commit3e3ff0cf0db089f1bc7cf6089dc74b51d0a3af70 (patch)
treefdd209a91e26cb3cbc1a90545f99b5db0880c7ce /sys/arch/i386/isa
parentee9bd637e0295eeb7dfd37b2f3810841cbd814f7 (diff)
Get rid of evcount's support for arranging counters in a tree
hierarchy. Everything attached to a single root node anyway, so at best we had a bush. "i think it is good" deraadt@
Diffstat (limited to 'sys/arch/i386/isa')
-rw-r--r--sys/arch/i386/isa/isa_machdep.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/arch/i386/isa/isa_machdep.c b/sys/arch/i386/isa/isa_machdep.c
index 3b77563db12..75f9981ddc1 100644
--- a/sys/arch/i386/isa/isa_machdep.c
+++ b/sys/arch/i386/isa/isa_machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: isa_machdep.c,v 1.69 2010/03/25 22:44:57 oga Exp $ */
+/* $OpenBSD: isa_machdep.c,v 1.70 2010/09/20 06:33:47 matthew Exp $ */
/* $NetBSD: isa_machdep.c,v 1.22 1997/06/12 23:57:32 thorpej Exp $ */
/*-
@@ -554,8 +554,7 @@ isa_intr_establish(isa_chipset_tag_t ic, int irq, int type, int level,
ih->ih_next = NULL;
ih->ih_level = level;
ih->ih_irq = irq;
- evcount_attach(&ih->ih_count, ih_what, (void *)&ih->ih_irq,
- &evcount_intr);
+ evcount_attach(&ih->ih_count, ih_what, &ih->ih_irq);
*p = ih;
return (ih);